Commit Graph

36 Commits (5c085bb6517deed1c871bdecdebecb16f4ecf33d)

Author SHA1 Message Date
EmaMaker 5c085bb651 striker-roller: complete striker using the roller 2021-06-22 18:18:00 +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 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 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 0c5737c1ad mix fixes git decided to cancel 2021-05-13 19:14:45 +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 f11127bb40 roller: activate when ball is in front
do not take distance into account
2021-05-11 15:21:22 +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 5e88a21293 sensors: add the robot identifier switch
and add test for switches
2021-04-19 16:05:42 +02:00
EmaMaker 2b40f56bdd Camera sensor: correct a massive freaking typo
This caused a huge bug when testing the striker
i'm dumb
2021-04-19 16:00:24 +02:00
EmaMaker 325656d810 ball sensor: ball angle in absolute space 2021-03-29 15:44:19 +02:00
EmaMaker 004c4a47de motors: ramp up and slow down of motors instead of bang.bang 2021-02-22 18:43:43 +01:00
EmaMaker a4be313e96 do not initialize LEDs
LEDs are hookep up to the AtMega32U4on the new board
Some LED pins are hooked up to line sensors on the new board and caused them not to work properly
2021-02-01 20:57:23 +01:00
EmaMaker dcdb5ac9d3 camera: update scripts, line and position handling for H7 2021-01-31 18:42:03 +01:00
EmaMaker 69284cb009 ball read: fix major bug in reading ballSeen 2021-01-11 15:47:24 +01:00
EmaMaker 732298b7db movement: correct pid formula and motors angles 2021-01-11 15:47:18 +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 5566afb5bc do not update usCtrl
They're not on the robot, they're not defined in the code, and updating them will just cause the whole thing to crash
2021-01-11 15:44:33 +01:00
EmaMaker b17e54ae27 Merge branch 'master' into newcode 2020-11-23 16:54:57 +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 6d3a4f19d4 fixed motor angles 2020-05-06 11:46:41 +02:00
u-siri-ous beb9133b4b removed data_source_us.h/.cpp, no US present on the 2021 robot, if needed, the files can be found in branch master 2020-05-05 18:13:14 +02:00
u-siri-ous e341214905 first commit, starting to work with a new setup 2020-05-05 17:57:43 +02:00
EmaMaker f62d013675 position system camera and vector sum system to do multiple movements in a single one. obv to be tested, but it's difficult without robot and field 2020-03-12 12:09:13 +01: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
u-siri-ous 4e0ae43573 camera lines 2020-03-02 18:48:29 +01:00
u-siri-ous cefd106a5e organized code in 5 folders, left vars.h and main.cpp out of them for easy changing purposes. also did two currently_unused folder in sensors for us and things soon-to-be taken out from the robot (like v-shaped mirror) 2020-02-29 22:10:53 +01:00