Commit Graph

41 Commits (f26cbf4984ab80dc710f4b68c4b2c6c93de69ee3)

Author SHA1 Message Date
EmaMaker f26cbf4984 movement: enable vector sum for multiple movements in a single cycle 2021-03-22 14:03:53 +01:00
EmaMaker 71cf8ff249 motors: complementary filter on a per-motor speed
avoid all the cons of bang-bang without spending 5mS ramping up and down
2021-03-01 21:45:26 +01:00
EmaMaker ef2de95e60 camera: tweaks to OpenMV script
also add a control on the position of the blue goal
2021-02-23 08:09:39 +01:00
EmaMaker dcdb5ac9d3 camera: update scripts, line and position handling for H7 2021-01-31 18:42:03 +01:00
EmaMaker 46a76a340c bluetooth: sm2 test script 2021-01-15 17:40:28 +01:00
EmaMaker 62821341b0 strategy: introduce a test striker with empty systems and set as only role 2021-01-11 15:46:39 +01:00
EmaMaker f99d467c36 ball_read: add option to receive bytes from teensy
Those will turn LED2, LED3, LED4 on or off depending on the byte received
They can be used as status LEDs to report Teensy activity
2021-01-11 15:44:33 +01:00
EmaMaker 00e787b62e ball_read: tweak values for a good reading 2021-01-11 15:44:33 +01:00
EmaMaker 978be20b03 update ball_read to use registers instead of pinMode and digitalWrite
also move all the files relative to 32u4 uC inside a dedicated folder
add the Blink script i made to test if everything was working and to test registers for LEDs
2020-11-29 23:17:32 +01:00
EmaMaker b17e54ae27 Merge branch 'master' into newcode 2020-11-23 16:54:57 +01:00
EmaMaker 2d573211a5 port ball reading code to 32u4 2020-11-21 16:56:41 +01:00
EmaMaker 2354015201 reorder files into system folders
also rename Goalie to Striker because GRAMMAR

(Goalie actually means keeper but we always intended it as a striker :D)
2020-11-04 17:46:22 +01:00
ema.coletta@gmail.com c0b8771c47 a bit of recalibration for everything for the presentation game 2020-10-31 15:37:38 +01:00
u-siri-ous 41061931fc FILE DECRISTO 2020-06-02 17:48:02 +02:00
EmaMaker b891d8c803 edits in camera 2020-03-09 17:10:22 +01:00
EmaMaker dddbbc1810 Corrected a few major bugs in camera data receiving and using. Still no lock trying to directly fix goals' coordinates using axis rotation formula. 2020-03-02 20:45:48 +01:00
EmaMaker 74a712121f little correction to the pid for position 2020-03-02 15:54:27 +01:00
EmaMaker 9afd6bf8b6 camera working 2020-02-28 16:45:28 +01:00
EmaMaker 00f6192255 now the robot can use the camera to recenter even when one the goals can't be seen 2020-02-27 17:30:10 +01:00
EmaMaker 752866de32 centering with camera only when both goals seen. Using a pid for each axis and then converging the outputs in an angle. This could be possibly done with multiple movements in a single loop and then merged together in a single one. 2020-02-26 20:07:14 +01:00
u-siri-ous 3c34a71676 camera pid testing 2020-02-26 18:51:46 +01:00
EmaMaker e0c7c569f6 aaaaaaaaaaaaaaaaA 2020-02-26 16:00:26 +01:00
EmaMaker 42d73d7e85 New conic shaped mirror, works better. It's higher and has more noticeable changes on the y axis 2020-02-21 13:37:32 +01:00
EmaMaker 2ac684220f best pid YET 2020-02-19 17:44:31 +01:00
EmaMaker f2903c2c6b Now using status vector everywhere :D (To be tested) 2020-02-18 09:37:36 +01:00
EmaMaker 0d5ce9576c Now using Flavio's PID Library, plays flawlessly 2020-02-17 19:47:51 +01:00
EmaMaker 75711e6f28 Now using Flavio's PID Library, plays flawlessly 2020-02-17 19:16:29 +01:00
EmaMaker 64db5d2688 slight edits to goalie 2020-02-17 19:14:48 +01:00
u-siri-ous f62bb9751f camera recenter (on x axis) working c: 2020-02-17 17:42:58 +01:00
u-siri-ous 5a9ce6692f not working 2020-02-12 18:53:25 +01:00
EmaMaker 2577cd568c Now using arduino PID library for movements. There probably a better way to use this, but it works for now 2020-02-10 19:48:31 +01:00
EmaMaker 1b2a810ad3 status vector not quite working 2020-02-05 19:46:57 +01:00
EmaMaker e746e493b9 slight modifies to camera 2020-02-05 19:08:04 +01:00
u-siri-ous c3ebf4913f storcimento kinda working 2020-02-03 18:59:44 +01:00
EmaMaker 6acc62c1a3 Fixed camera angle reading from both openmv and teensy. Tilt from goalie kinda working now 2020-01-31 13:35:40 +01:00
EmaMaker 9a8830f275 Angles finally working 2020-01-27 17:47:36 +01:00
EmaMaker e84292568e Angles working? 2020-01-27 17:05:39 +01:00
EmaMaker dc251467bd Calculating angles with the camera, have to be fixed with the 90 degrees offset. Uploading a little teesny <-> atmega32u4 test script for bidirectional relaiable serial communication 2020-01-26 20:13:31 +01:00
EmaMaker d534c5b4a8 working camera->teensy transimission protocol 2020-01-22 17:22:32 +01:00
EmaMaker b3902caf29 conic shaped camera mirror final script 2020-01-20 18:41:36 +01:00
EmaMaker 069e119f15 First camera script for conic shaped mirror 2020-01-15 18:43:08 +01:00