Commit Graph

196 Commits (eb9e8ad4754ec3ae63c33ae0ec5289320ddcf1d0)

Author SHA1 Message Date
emamaker eb9e8ad475 pos-sys-cam: correct calculations 2022-07-07 22:14:11 +02:00
emamaker 8beec8c246 camera: only filter if seen 2022-07-07 22:14:11 +02:00
emamaker ba0b231cd0 pos-sys-cam: vector calc should occur in radians 2022-07-07 22:14:11 +02:00
emamaker 4218ac67b5 camera: compute data after receiving 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 14992f5baa striker: adapt striker to new ball reading 2022-07-07 22:11:07 +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 8dcdd320ff camera: fix misuse of assignation operator in if 2022-07-02 16:44:57 +02:00
emamaker 422ece648f pos-sys-cam: revise method to use status vector 2022-07-02 15:34:51 +02:00
emamaker e24ace0a7a linesyscamera: better use of status vector
* update with inputs
* use CURRENT_DATA_WRITE to call Game's PositionSystem, leads to seagfault when on a line on the first loop cycle otherwise
2022-07-02 15:34:51 +02:00
EmaMaker f39664dcfb striker: fix ball wraparound from behind
avoids repeatedly hitting a line when near an edge
2022-07-02 15:34:44 +02:00
EmaMaker d20d44c25e drivecontroller: update status vector in prepare 2022-06-28 10:36:54 +02:00
EmaMaker c8997bfc73 position-sys-cam: keep tilt when going to position 2022-06-26 19:33:08 +02:00
emamaker 26c3ec53e3 misc code cleanup 2022-06-09 10:04:02 +02:00
emamaker 410ff27708 striker: orbital striker with lines 2022-06-09 10:03:19 +02:00
emamaker 6a1b35b8cf sensors: re-enable camera 2022-06-09 10:02:49 +02:00
emamaker b7aca28332 pos-sys-cam: avoid infinite loop
when camera has not been seen for a while
2022-06-09 10:01:03 +02:00
emamaker a7079d2ef1 camera: correct some wrong signs in plane rotation 2022-06-09 09:59:41 +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 43777e4ccd main: basic main loop 2022-05-16 22:56:28 +02:00
emamaker 06ffa9972e sensors: tmp disable some sensors 2022-05-16 22:56:28 +02:00
emamaker da1af0c7bc remove ball presence sensor
as it will not be present on robot for the time being
2022-05-16 22:56:28 +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 954809ab6e remove robocup stuff 2022-05-16 22:56:28 +02:00
emamaker 7a1583128a Revert "first commit, starting to work with a new setup"
This reverts commit e341214905.
2022-05-16 22:56:28 +02:00
emamaker 33466b9a34 Starting revamp of Furio&Cornelia
Revert "do not initialize LEDs"

This reverts commit a4be313e96.
2022-05-16 22:56:14 +02:00
EmaMaker 788684ef0a end of rcj 2021
Co-authored-by: u-siri-ous  <sanninosiria@gmail.com>
2021-06-27 14:04:44 +02:00
EmaMaker 39a3a26249 robocup: tc3: corner kick
Co-authored-by: u-siri-ous <sanninosiria@gmail.com>
2021-06-27 14:04:15 +02:00
EmaMaker c3d73935a6 ball: correctly detect when the ball is not present 2021-06-27 13:58:07 +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 77218487c9 TC2: initial round robin 2021-06-27 13:58:07 +02:00
EmaMaker 054c361653 pos-sys-camera: use IMU-fixed goal coordinates to calc position 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 f1b675ecd1 a 'pecionata' of a technical challenge 1. 19 goals/min
the robot needs to face the defensive goal and it just recenters. Maybe one day we will remake the spinning kick to account any situations
2021-06-23 17:02:31 +02:00
EmaMaker dcfc28aab5 robocup: first technical challenge
still could be better, faster and more precise in some parts
2021-06-22 20:53:11 +02:00
EmaMaker 5c085bb651 striker-roller: complete striker using the roller 2021-06-22 18:18:00 +02:00
EmaMaker c168d0a1b1 precision shooter: spinning kick finally precise 2021-06-22 14:55:12 +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 fc485a021a precision shooter: improve spinning kick 2021-06-21 20:00:31 +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 c425472f58 precision shooter: catch and spinning kick 2021-06-20 23:32:45 +02:00
EmaMaker 6c81dbf998 drive: fix to accept tilt values in the [0,360] range 2021-06-20 22:21:14 +02:00
EmaMaker 25d30047c2 ball presence sensor
basically a line sensor with split led and phototransistors
2021-06-20 19:30:15 +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 297502ea70 even better pass and shoot 2021-05-14 11:03:46 +02:00
EmaMaker fa005584d9 romecup: initial working pass and shoot 2021-05-14 10:30:35 +02:00