Commit Graph

209 Commits

Author SHA1 Message Date
ca8e5aac9b allow further distance from target position 2021-09-10 01:23:14 +02:00
6aef0660a3 empty response queue to avoid desync 2021-09-10 01:22:44 +02:00
885a516fe3 implemented won text and set consistent seed 2021-09-10 01:22:17 +02:00
ca1fe99ff2 stable version of the game 2021-09-10 01:04:17 +02:00
a69d45f97e make it possible to get positions outside of grid rect 2021-09-10 00:44:16 +02:00
eea1cee1ec use mpc controller with short horizon 2021-09-10 00:43:02 +02:00
1c8d4a1d57 send heartbeat while waiting for control to finish 2021-09-10 00:42:31 +02:00
029068b259 added some output 2021-09-09 21:36:38 +02:00
7962199c3a reset time when stopping controller 2021-09-09 21:36:13 +02:00
f3babdcf0a cleaner exit in case of errors 2021-09-09 21:34:54 +02:00
019c4590aa implemented communication interface with real robots 2021-09-07 22:35:02 +02:00
3082eebc8d implemented blocking events to make it possible to wait for the robot to reach the desired target position 2021-09-07 22:31:28 +02:00
2c54e56f95 also enable computation of position outside of marker rectangle and for arbitrary grid sizes 2021-09-07 22:29:27 +02:00
1db24bc573 changed some defaults 2021-09-07 00:24:05 +02:00
c65dcce176 added grid move to measurement server 2021-09-07 00:23:36 +02:00
2dc3eef2d6 adjusted key events to Qt and changed robot ips 2021-09-07 00:21:51 +02:00
bbb341ea56 improved stepping mode 2021-09-06 09:00:00 +02:00
4c3c3f973e implemented stepping mode 2021-09-06 00:34:26 +02:00
57cd60de8c use KEYUP instead of KEYDOWN because otherwise switching from beamer mode does not work 2021-09-06 00:22:58 +02:00
8c544f8fcc implemented quitting the program 2021-09-06 00:05:52 +02:00
ff6caa457f missing copy to restore initial game state 2021-09-05 23:42:08 +02:00
9eea9bd245 refactored game into Game class for better maintainability 2021-09-05 23:37:47 +02:00
945833c8ac implemented state machine and option to switch display mode for second screen 2021-09-05 20:43:22 +02:00
e931085ca8 implemented basic input 2021-09-03 22:41:35 +02:00
439cf44d70 implemented core game logic and display 2021-09-03 21:38:30 +02:00
c5f3f3babb implemented control of multiple robots through GUI using measurement server 2021-08-31 00:05:16 +02:00
d0c17c0b91 got mpc controller running again 2021-08-25 22:53:09 +02:00
b65b6568d0 run GUI in main thread and measurement server in secondary thread 2021-08-25 21:59:24 +02:00
2607e94958 enable auto-exposure by default, some cleanup 2021-08-25 20:39:39 +02:00
f9f4a2c1c6 added qt gui with changeable parameters 2020-11-28 19:57:22 +01:00
9c1115d505 use qt gui instead of opencv 2020-11-25 21:19:56 +01:00
f26f958dc7 fixed errors in pid and mpc controller 2020-11-22 15:57:53 +01:00
0fddd75393 make parameters of mpc controller changeable 2020-11-18 21:54:23 +01:00
c2307261c5 second robot controlled by mpc controller 2020-11-18 21:53:32 +01:00
2f081faee8 restructured controller to work with mpc 2020-11-18 21:38:41 +01:00
17637f427b initial commit for control commander 2020-11-17 21:24:55 +01:00
edc3e8d290 some cleanup 2020-11-17 21:23:22 +01:00
35b6c3bdfd rewrote pid controller to derive from ControllerBase. works with multiple robots now 2020-11-14 16:41:16 +01:00
2060d8eb15 fixed problem with slow event server 2020-11-14 16:40:33 +01:00
708284749d fps counter 2020-11-14 16:39:53 +01:00
a3af40b001 implemented control from multiple robots 2020-11-14 16:06:57 +01:00
47f652fd62 about to make changes s.t. PID controller derives from ControllerBase class 2020-11-14 15:22:41 +01:00
6b9373cce5 enabled better mouse interaction 2020-11-14 15:01:01 +01:00
eff5474ac2 switched to using TCP sockets for measurement and event communication 2020-11-11 21:33:48 +01:00
8fc5ad9868 measurment client and server example 2020-11-09 22:32:27 +01:00
a872232880 enabled backwards driving and adjusted parameters a bit 2020-11-09 22:07:09 +01:00
91cde26908 working PID controller for driving forwards 2020-11-09 21:34:43 +01:00
993d4c0141 added options to run detection on inverted markers and to disable auto-exposure 2020-11-08 16:29:48 +01:00
119d857531 general refactoring 2020-10-24 21:16:17 +02:00
8728db82e8 general refactoring 2020-10-24 21:12:03 +02:00