Commit Graph

70 Commits (8fa363e44e40c6a3b8e53d4bfbd49bee32fc6ba3)

Author SHA1 Message Date
emamaker b221a48c41 openmv: recalibration 2022-07-07 22:14:11 +02:00
emamaker f1fab59b2a cam-py: correct calc and send data for blue goal 2022-07-07 22:14:11 +02:00
EmaMaker 5deb6a9af1 camera: switch to using angles and dist 2022-07-07 22:14:09 +02:00
EmaMaker c27b64922c ball: switch to using a buffer of 3 bytes
* now we don't lose in resolution
* each byte use the two MSBs as an identifier, so that information can't be misinterpreted
2022-07-04 14:32:01 +02:00
EmaMaker 131819f02a misc value recalibration 2022-06-28 10:39:35 +02:00
emamaker 2bad8a9921 camera: adjust for the different rotation
Also tmp disable blue spots disturbance filtering
2022-06-09 09:59:36 +02:00
emamaker bb7677eda5 ball_read: 32u4 -> arduino pro mini 2022-06-09 09:52:06 +02:00
emamaker 5587ab02b1 Revert "ball: new ball reading algorithm, should improve precision"
This reverts commit d0324e5a93.
2022-05-16 22:56:28 +02:00
EmaMaker b3dbc4e213 camera: correct a critical bug in goal seen logic 2021-06-27 13:58:07 +02:00
EmaMaker f926ecf027 robocoup: tc2 - round robin 2021-06-27 13:58:07 +02:00
EmaMaker 0fceb85428 superteam challenges: challenge 3: spinner 2021-06-24 18:28:17 +02:00
EmaMaker e8f45faff6 superteam challenge: st challenge 1 2021-06-23 23:06:34 +02:00
EmaMaker f7a5b072df precision shooter: catches ball and goes towards goal
depending on the angle it catches the ball at, sometimes it hides the ball, sometimes it does a random spinning kick when it founds the line
2021-06-22 10:39:14 +02:00
EmaMaker 827e063155 precision shooter,camera: improve, fix math error in translation
alongside with better speed calculation and utility methods
2021-06-21 17:30:04 +02:00
EmaMaker d0324e5a93 ball: new ball reading algorithm, should improve precision 2021-05-29 19:19:37 +02:00
EmaMaker 4397d602cd striker: follow the ball, pick it and score
Our roller is about to fall apart and i have no specific sensor to detect the ball, which means in perfect conditions it works but it really doesn't in real world conditions
Also we need to ameliorate the communication protocol between teensy and 32u4 in order to not lose precision
2021-05-28 20:53:38 +02:00
EmaMaker 41fefc63c6 latest romecup code 2021-05-14 17:53:47 +02:00
EmaMaker fa005584d9 romecup: initial working pass and shoot 2021-05-14 10:30:35 +02:00
EmaMaker e57a8b036d bluetooth, at last 2021-05-14 01:57:49 +02:00
EmaMaker 6fc65c7331 precision shooter 2021-05-13 20:42:10 +02:00
EmaMaker 0c5737c1ad mix fixes git decided to cancel 2021-05-13 19:14:45 +02:00
EmaMaker 16a781df34 romecup: precision shooter 2021-05-13 08:55:56 +02:00
EmaMaker 3631fe18ab robocup preparation: correct pos-sys-camera bugs
better use of roller
nice startup/debugging sounds
disable auto gain in H7
2021-05-12 16:44:17 +02:00
EmaMaker f3eed47a67 camera: translate camera points in raw data, not in position system 2021-05-11 15:20:20 +02:00
EmaMaker 714b00ee25 robocup preparation: fix lines
add a workaround for when we don't see either of the goals
add nice startup sounds
2021-05-10 20:34:26 +02:00
EmaMaker 082e7effcf preparation for romecup: refine striker 2021-05-10 18:28:41 +02:00
EmaMaker 9321e6ff0b we now have a roller 2021-05-07 21:44:50 +02:00
EmaMaker e71c49efd1 camera: coords filtering and better route calculation 2021-04-19 19:16:31 +02:00
EmaMaker 5197fa0895 OpenMV H7: avoid crash when blue goal isn't in sight 2021-04-14 15:00:59 +02:00
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