Code Monkey home page Code Monkey logo

controls-drawer's Introduction

############################################################################### Fixing LCM networking error ############################################################################### If you are getting errors like this: LCM: TTL set to zero, traffic will not leave localhost. Exception: java.net.SocketException: No such device

connect: Network is unreachable
Unable to read routing table (fgets): Network is unreachable
No route to 239.255.76.67

Then sudo ifconfig lo multicast sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo ###############################################################################

############################################################################### To run calibration cd projects/controls-drawer source env.sh

python software/drivers/cnc_table/position_driver_2d.py python software/drivers/crenova_iscope_endoscope_2Mpix/camera_driver.py python software/perception/basic_image_operations_filter.py cd results/calib_images/ python ../../software/controllers/exterior_camera_calibration.py

Illuminate the scene clearly with a phone (for now)

Take a first 1-2 images and check that the thresholding is working well,

change the threshold value as necessary

Once you have images that you're happy with, kill all drivers

###############################################################################

############################################################################### To run intrinsic camera calibration cd projects/controls-drawer source env.sh

First, put all the pictures of the square calibration image for the Crenova

camera in crenova_iscope_endoscope_2Mpix/square_images/*.jpg

Edit the file to change various things

subl software/drivers/general_camera_tests/test_calibration.py python software/drivers/general_camera_tests/test_calibration.py ###############################################################################

############################################################################### To move the table around by terminal

Edit to get the commands you want

subl software/drivers/cnc_table/simple_stream.py python software/drivers/cnc_table/simple_stream.py ###############################################################################

############################################################################### To take pictures using the camera driver

Run the camera driver with a flag that saves every image when triggered

python software/drivers/crenova_iscope_endoscope_2Mpix/camera_driver.py --save-images python software/drivers/general_camera_tests/image_request.py ###############################################################################

############################################################################### How to threshold images

Look in basic_image_operations_filter.py to see the basic threshold code

Turn this into a tool if you use it often

###############################################################################

############################################################################### How to run the line follower cd projects/controls-drawer source env.sh

python software/drivers/cnc_table/position_driver_2d.py python software/drivers/crenova_iscope_endoscope_2Mpix/camera_driver.py python software/drivers/general_camera_tests/image_request.py --stream python software/gui/display_images.py --image-channel IMAGE_TRACKING --include-points [lcm-logger] python software/controllers/line_follower.py ###############################################################################

controls-drawer's People

Contributors

franzericschneider avatar

Stargazers

 avatar

Watchers

 avatar  avatar

controls-drawer's Issues

Test

How does this render when

the issue is created?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.