Commit Graph

25 Commits (eb9e8ad4754ec3ae63c33ae0ec5289320ddcf1d0)

Author SHA1 Message Date
EmaMaker d20d44c25e drivecontroller: update status vector in prepare 2022-06-28 10:36:54 +02:00
emamaker 26c3ec53e3 misc code cleanup 2022-06-09 10:04:02 +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 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 6c81dbf998 drive: fix to accept tilt values in the [0,360] range 2021-06-20 22:21:14 +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 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 15ba2991a1 drive: only drive when the PID is calculated
no need to recalibrate the pid
2021-05-10 20:37:13 +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 3ebe64555b tilt: better tilt 2021-04-19 19:14:51 +02:00
EmaMaker 686c35b85f position system camera & motors: proper vector sum, value tweaking 2021-04-14 15:00:43 +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 004c4a47de motors: ramp up and slow down of motors instead of bang.bang 2021-02-22 18:43:43 +01:00
EmaMaker 732298b7db movement: correct pid formula and motors angles 2021-01-11 15:47:18 +01:00
EmaMaker b9eefb2c10 use 5kHz as pwm frequency for motors
So we don't get the motors stopping to turn when changing direction at high speeds because of current limit on the vnh7070
2021-01-11 15:44:33 +01:00
ema.coletta@gmail.com f0a8ad6808 disable vector sum code for now
calculations are a bitty crappy, think I found the bug for now (check added comments)
2020-10-31 15:37:05 +01:00
EmaMaker 49a5689443 Merge 2020-03-12 12:13:25 +01: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
u-siri-ous 01f0ad70a1 looking at past days' work 2020-03-12 11:14:13 +01:00
u-siri-ous d06b553f15 added testMenu, to be tested 2020-03-03 11:52:39 +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