Commit Graph

216 Commits (master)

Author SHA1 Message Date
Simon Pirkelmann eff5474ac2 switched to using TCP sockets for measurement and event communication 2020-11-11 21:33:48 +01:00
Simon Pirkelmann 8fc5ad9868 measurment client and server example 2020-11-09 22:32:27 +01:00
Simon Pirkelmann a872232880 enabled backwards driving and adjusted parameters a bit 2020-11-09 22:07:09 +01:00
Simon Pirkelmann 91cde26908 working PID controller for driving forwards 2020-11-09 21:34:43 +01:00
Simon Pirkelmann 993d4c0141 added options to run detection on inverted markers and to disable auto-exposure 2020-11-08 16:29:48 +01:00
Simon Pirkelmann 119d857531 general refactoring 2020-10-24 21:16:17 +02:00
Simon Pirkelmann 8728db82e8 general refactoring 2020-10-24 21:12:03 +02:00
Simon Pirkelmann a0f701fe83 general refactoring 2020-10-24 21:11:22 +02:00
Simon Pirkelmann 7ded3bee79 general refactoring 2020-10-24 21:08:20 +02:00
Simon Pirkelmann dd162018d8 improved grid drawing code to also work when markers are occluded and added documentation 2020-10-24 20:54:47 +02:00
Simon Pirkelmann a22a3fdea3 adjusted to rename of aruco estimator and changed order for server commands 2020-10-24 20:11:32 +02:00
Simon Pirkelmann ab6cc79eea added kick-start for small motor control signals 2020-10-24 20:05:39 +02:00
Simon Pirkelmann 7f194f57f2 added python3 support 2020-10-24 20:05:00 +02:00
Simon Pirkelmann 409a9980bd added exception for lost connection 2020-10-24 20:01:16 +02:00
Simon Pirkelmann 9e1ce9b512 renamed aruco estimator file 2020-10-24 19:59:56 +02:00
Simon Pirkelmann 3bd11a53ce client and server for robot position estimate 2020-10-24 19:56:18 +02:00
Simon Pirkelmann 02a83f405f added option to draw marker coordinate system and modified dict for corner marker estimates 2020-10-24 19:55:04 +02:00
Simon Pirkelmann ec6b2bbf4a removed unnecessary inheritance 2020-10-23 20:56:41 +02:00
Simon Pirkelmann 9bb4f2920f rename ArucoEstimator file 2020-10-23 20:55:08 +02:00
Simon Pirkelmann 0acc59cc53 replaced cv2.aruco with python bindings for new aruco version 2020-10-23 20:44:20 +02:00
Simon Pirkelmann 280fb10427 replaced cv2.aruco with python bindings for new aruco version 2020-10-23 20:43:45 +02:00
Simon Pirkelmann 0bc6b68a20 playing around with different markers and sizes 2020-10-21 21:10:04 +02:00
Simon Pirkelmann e93ae65e0f added option to dynamically initialize grid and robots and added support for arbitrary grid orientation w.r.t. camera 2020-10-18 18:03:33 +02:00
Simon Pirkelmann 056d91da52 fixed error with turn around command 2020-10-18 16:58:32 +02:00
Simon Pirkelmann 3ab8fadc7b robot driving to position determined by mouse click 2020-10-18 15:16:28 +02:00
Simon Pirkelmann 49645765d7 input handling using opencv window 2020-10-15 22:41:30 +02:00
Simon Pirkelmann e3753f7644 improved grid logic for robots + general cleanup 2020-10-15 20:35:32 +02:00
Simon Pirkelmann 32892e5dcf added option to compute angle for marker based grid 2020-10-14 23:08:19 +02:00
Simon Pirkelmann 149e9b3536 coupled robot control with new position estimator 2020-10-14 21:15:43 +02:00
Simon Pirkelmann 36f3ccbd6c fixed a problem where robot could drive diagonally caused by int casting error and improved the socket buffer size which could lead to problems for longer messages 2020-09-15 15:23:01 +02:00
Simon Pirkelmann e7ab92dfe2 added more commands and improved error checking 2020-09-09 20:21:34 +02:00
Simon Pirkelmann c98760a2c7 working version with two robots 2020-09-09 18:12:12 +02:00
Simon Pirkelmann 280aee75ee parameter tuning. works well with control scaling of 0.3 2020-09-09 17:33:13 +02:00
Simon Pirkelmann 826fa4be0f fixed problem with target angle of -pi, pi which was caused by discontinuities in the angle measurements 2020-09-07 16:18:35 +02:00
Simon Pirkelmann 6fb3cd5484 so-so working version for mpc control 2020-09-04 16:53:39 +02:00
Simon Pirkelmann d170524370 added 8th waypoint 2020-01-16 10:58:33 +01:00
Simon Pirkelmann 0c59a77b28 changed marker ids 2020-01-16 07:51:54 +01:00
Simon Pirkelmann c1b7640d03 fixed bug with initialization of i2c option 2020-01-12 16:11:58 +01:00
Simon Pirkelmann aab1b78e8f added accessability features (choosing ip, robot id at startup, changing max speed), remove obstacle code 2020-01-12 16:11:26 +01:00
Simon Pirkelmann c2fad13698 added scripts 2019-09-12 13:06:22 +02:00
Simon Pirkelmann 86b9ad659d removed unnecessary code and fixed formatting 2019-08-14 14:49:11 +02:00
Simon Pirkelmann cd2fc8cc3b cleaned up game code: read track from config file, added option to have a variable number of markers, removed hardcoded marker ids, added debug output for track setup 2019-08-14 13:46:01 +02:00
Simon Pirkelmann 522bd87c9c removed comments 2019-08-13 14:11:03 +02:00
Simon Pirkelmann 4cc44b3cd6 connect to Micropython network if no other network is found 2019-08-13 13:20:57 +02:00
Simon Pirkelmann 4947bd4539 added WebREPL files 2019-08-13 13:19:11 +02:00
Simon Pirkelmann 5d6a5ad7bf started documentation for race game 2019-08-12 17:36:50 +02:00
Simon Pirkelmann 9d9d539962 fixed wrong import 2019-08-12 17:36:26 +02:00
Simon Pirkelmann cc98f96562 minor fix in docu 2019-08-12 16:50:19 +02:00
Simon Pirkelmann 4830c2e252 removed fiducial transformation script duplicate 2019-08-12 16:48:59 +02:00
bt304019 2987da4373 improved keyboard controller script. added quit option and option to pass ip as command line argument 2019-08-12 16:42:57 +02:00