Commit Graph
21 Commits
Author SHA1 Message Date
pavel 86b75c0504 renamed scripts folder to pykick 2018-06-10 12:40:02 +02:00
pavel 5035329de7 Improved ball following
1. Made copyfiles a little saner
2. Implemented ball search when not in field of view
2018-06-04 15:23:41 +02:00
pavel 16aa1422e4 killed some refactoring bugs 2018-06-04 10:37:03 +02:00
pavel cdd79392fd renamed motion to movements because of conflict 2018-06-04 10:10:50 +02:00
pavel 5bd50de06e From now on use NaoMover from motion.py
Also use `read_config` from `utils.py`
2018-06-03 16:12:58 +02:00
pavel cb649daa15 refactored BallFinder and live detection demo 2018-06-03 13:45:53 +02:00
pavel 79f9b587db Started overall project refactoring
1. Git will now be ignoring files whose names start with `exp_`.
   If you want to do quick experimenting but are not ready to add
   such files to repository, name them starting with `exp_`. For
   example `exp_cool_motion.py`.
2  Use the file `nao_defaults.json` to store the global project
   settings (such as IP address of the robot, or our preferred
   resolution). In your scripts make sure to load the default
   values from that file if needed (i.e. do NOT hard-code any
   configuration in your scripts). `nao_defaults.json` is a file
   with the stable config. If you need to experiment with configs,
   create a file `exp_config.json`.
3. Colorpicker is now a saner tool (you can specify output width, and
   the default IP address of the nao is pulled from the JSON config
   file).
2018-06-03 13:45:53 +02:00
pavel d94b27db08 robot now runs after the ball 2018-06-03 13:40:00 +02:00
pavel a9029061a0 improvements in color calibration and tracking 2018-06-02 12:10:42 +02:00
pavel cc8589d750 Extended colorpicker to read pictures also
Some minor refactoring on photo capturing script, also.
2018-06-01 20:11:56 +02:00
pavel f05d777e41 Fixed a bug in live_recognition_with_head 2018-05-31 21:31:35 +02:00
pavel 4d801785ca Refactored ball following script 2018-05-31 21:25:27 +02:00
pavel 47f2d31ba9 quickly killed a bug in imagereaders.py 2018-05-31 20:31:40 +02:00
pavel 69b1b137a2 Major refactoring for better usability
1. Created interface classes for reading video streams
   (in imagereaders.py)
2. Created a class for ball detection (for reusability)
3. Reworked colorpicker, now it is possible to choose the mode of
   operation from command line (available are live from Nao, from
   video file or from webcam). It is possible to capture only the
   first image of a stream and work on it. Colorpicker now can save
   the settings on exit or load settings on startup.
2018-05-31 20:23:49 +02:00
pavel 6d6799d656 Ball search basics 2018-05-27 18:47:16 +02:00
pavel 5bea6e542a fixed a bug in ROS installation, updated README
Sourcing .bashrc from install_ros.sh didn't have any effect, since
.bashrc needs to be sourced from an interactive shell. Because of this,
it was required to restart the terminal for ROS to work. Now, the ROS
startup scripts are sourced directly from the installation script,
thus eliminating the need to restart the terminal.

Added instructions to README to check the installation success.
2018-05-27 12:26:45 +02:00
pavel e94a86f8e8 added setup instructions to README 2018-05-26 17:28:27 +02:00
pavel 5b8f96552f automatically download SDKs 2018-05-26 17:22:58 +02:00
pavel 97bc4cf610 modularized image recognition further 2018-05-26 14:40:17 +02:00
pavel 0377240382 cleaned up recognition a little 2018-05-25 19:01:38 +02:00
pavel 5980589c6f add README and .gitignore 2018-05-25 17:30:56 +02:00