Commit Graph

216 Commits (master)

Author SHA1 Message Date
Simon Pirkelmann e219f7de38 updated race game program by Dmitriy 2019-07-09 19:48:39 +02:00
Simon Pirkelmann 15da18f949 changed marker ids 2019-07-09 19:42:19 +02:00
Simon Pirkelmann d985b830b9 version of the problem that works quite nicely with L293D robot and multistep MPC2 2019-07-04 14:39:34 +02:00
Simon Pirkelmann c6582c9e6c added plots for x and y position 2019-07-04 13:48:32 +02:00
Simon Pirkelmann cfa669e498 fixed a problem with undefined variables 2019-07-04 10:55:40 +02:00
Simon Pirkelmann 24cf87e9dd added plot for race track 2019-07-04 10:54:50 +02:00
Simon Pirkelmann 9c222b1099 fixed problems with simultaneous inputs not being handled and gamepads not detected 2019-06-28 10:28:51 +02:00
Simon Pirkelmann 67405fbd3f measure postprocessing time 2019-06-27 16:30:24 +02:00
Simon Pirkelmann 9dfc06169f cleaned up code, removed old controllers 2019-06-27 14:43:42 +02:00
Simon Pirkelmann ac0ad6c45a added joystick controller written by Dmitriy 2019-06-27 14:11:52 +02:00
Simon Pirkelmann 2a5e0e8ae7 added condition if marker cannot be found 2019-06-27 14:11:19 +02:00
Simon Pirkelmann b54c2d565c implemented obstacle avoidance 2019-06-27 12:12:42 +02:00
Simon Pirkelmann b755173c6b moved code for L293D motor driver to seperate file 2019-06-26 13:02:37 +02:00
Simon Pirkelmann 7d69c91752 working mpc with L293D motor driver 2019-06-26 11:36:54 +02:00
Simon Pirkelmann 2711373d44 testing not sending time in mpc 2019-06-26 10:49:52 +02:00
Simon Pirkelmann 0835690659 changed ips and max speed for testing 2019-06-26 10:49:05 +02:00
Simon Pirkelmann 85e2019370 simplified structure of the program and added motor class for L293D driver 2019-06-26 10:48:23 +02:00
Simon Pirkelmann 843b30f5d3 added option to set target angle 2019-06-14 10:38:21 +02:00
Simon Pirkelmann 465309ee45 added test for max speed and prediction step in MPC 2019-06-14 10:37:46 +02:00
Simon Pirkelmann fb12a3c94b implemented queue for controls 2019-06-14 10:03:02 +02:00
Simon Pirkelmann 05d80fa6ed test with polling for new data (not working well) 2019-06-14 08:45:00 +02:00
Simon Pirkelmann c31bb9cb11 testing multistep mpc 2019-06-13 13:46:29 +02:00
Simon Pirkelmann 8548348edd added warmstart 2019-06-13 13:45:45 +02:00
Simon Pirkelmann b8927cf1c5 working version of MPC controller 2019-06-13 13:18:46 +02:00
Simon Pirkelmann f100f21162 started working on optimization based controller 2019-06-11 17:40:39 +02:00
Simon Pirkelmann 0d14738671 changed forward, backward and turning directions in keyboard control script such that it fits the model and the camera image 2019-06-11 16:28:01 +02:00
Simon Pirkelmann 480e1f523c rewrote position controller script. now animated plot works for keyboard control and pid control 2019-06-11 16:26:53 +02:00
Simon Pirkelmann 9595a68494 added custom messages for pos and angle 2019-06-11 09:56:25 +02:00
Simon Pirkelmann 19ec0283bf added notes on add custom messages and some initial notes for the setup (required ros packages) 2019-06-11 09:55:05 +02:00
Simon Pirkelmann 1bedc7f01d added note on how to resolve problem with buggy motor shield 2019-06-11 09:53:13 +02:00
Simon Pirkelmann 5715fc6349 added webrepl for third robot 2019-06-11 09:51:36 +02:00
Simon Pirkelmann 441e55000a added option to sest maximum speed 2019-06-10 23:16:56 +02:00
Simon Pirkelmann 79f4fcc032 added error message if no i2c devices are found 2019-06-10 23:16:14 +02:00
Simon Pirkelmann 2fb69de9c5 added ip of 3. robot 2019-06-10 23:15:36 +02:00
Simon Pirkelmann 685dd6a4c9 Webrepl with preset ip address for the robot 2019-06-07 14:22:19 +02:00
Simon Pirkelmann 1d8d2d8043 added ros node for transformation of translation and quaternion rotation to position and angle in 2d plane 2019-06-07 14:20:05 +02:00
Simon Pirkelmann 5bc1c9ca9f fixed another reconnection issue that only seems to occur with windows 2019-06-06 15:19:14 +02:00
Simon Pirkelmann 4bff8e1df5 fixed a bug in keyboard remote controller 2019-06-05 08:06:11 +02:00
Simon Pirkelmann 6ebb9338c0 removed remote control script from micropython folder 2019-06-05 08:05:34 +02:00
Simon Pirkelmann 69c40a3fe2 fixed issue with reconnection problem after socket is closed 2019-06-05 08:04:26 +02:00
Simon Pirkelmann 4d7c0e7be7 robot now tries to automatically connect to an existing wifi network. if the network is not found then the robot will become an access point instead 2019-06-05 08:03:31 +02:00
Simon Pirkelmann 530cef54b3 added simulation of robot 2019-05-24 09:21:54 -05:00
Simon Pirkelmann f3de1b173a example for optimal control of robot 2019-05-24 09:20:49 -05:00
Simon Pirkelmann 06bcf565f3 added position detection with opencv 2019-05-06 22:23:31 +02:00
Simon Pirkelmann de67a163d6 added paper for robot model 2019-05-06 22:10:17 +02:00
Simon Pirkelmann efc34ed11e enabled reconnect of socket 2019-05-06 22:09:52 +02:00
Simon Pirkelmann 14ad366484 scaled control to (-1,1) 2019-05-05 11:01:40 +02:00
Simon Pirkelmann 845ead5df4 added instructions for remote control program 2019-05-05 10:39:23 +02:00
Simon Pirkelmann f828783b89 removed swap file 2019-05-05 10:27:02 +02:00
Simon Pirkelmann 6562ddf826 use micropython driver for d1 mini motor shield 2019-05-05 10:26:30 +02:00