Commit Graph

108 Commits (c0b8771c470bd8dea2307e1613708639d368a532)

Author SHA1 Message Date
ema.coletta@gmail.com c0b8771c47 a bit of recalibration for everything for the presentation game 2020-10-31 15:37:38 +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
ema.coletta@gmail.com bc040bd084 goalie: use status vector's CURRENT_DATA_READ to get sensors data
So this is in sync with the rest of the data being used in the cycle. This runs a loop cycle behind reality, but we don't care on such a fast machine
Also use atk_speed instead of hardcoding it to 100
2020-10-29 22:39:39 +01:00
ema.coletta@gmail.com 304610e2e2 recycle striker strategy from last year code
bad translation, goalie is actually a striker
2020-10-29 17:20:36 +01:00
ema.coletta@gmail.com 0f913d8ad1 implement test menu in main loop 2020-10-29 17:19:20 +01:00
EmaMaker 4ea08fa700 merge 2020-03-20 19:27:55 +01:00
u-siri-ous bc0b19ccf1 started thinking about goalie, to be tested, dunno if it works 2020-03-14 19:43:51 +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 60f4878a08 fix last merge 2020-03-12 11:16:23 +01:00
u-siri-ous baf834d6c3 aaaaaaa 2020-03-12 11:15:46 +01:00
u-siri-ous 01f0ad70a1 looking at past days' work 2020-03-12 11:14:13 +01:00
EmaMaker 4cd4b8f9d6 merge 2020-03-09 17:34:14 +01:00
EmaMaker b891d8c803 edits in camera 2020-03-09 17:10:22 +01:00
u-siri-ous f535fbdbef still test menu, still to test 2020-03-03 18:00:45 +01:00
u-siri-ous d06b553f15 added testMenu, to be tested 2020-03-03 11:52:39 +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 8299d82dff Merge branch 'master' of https://github.com/EmaMaker/SPQR1-2020 2020-03-02 18:48:50 +01:00
u-siri-ous 4e0ae43573 camera lines 2020-03-02 18:48:29 +01:00
EmaMaker 74a712121f little correction to the pid for position 2020-03-02 15:54:27 +01:00
Siria Sannino 809069a0d3
still README.md
ocd much?
2020-02-29 22:41:10 +01:00
Siria Sannino faafe94e11
updated README.md
we now have names and such
2020-02-29 22:37:15 +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
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
EmaMaker 33bdb4462a complementary filter object 2020-02-26 18:56:39 +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 6aa404465e ema taking over 2020-02-17 18:52:54 +01:00
u-siri-ous 372e6ac02c experimenting with y axis 2020-02-17 18:38:57 +01:00
u-siri-ous f62bb9751f camera recenter (on x axis) working c: 2020-02-17 17:42:58 +01:00
EmaMaker cee576e9c8 now latest complete structs are copied into new ones when updating status vector 2020-02-17 14:34:39 +01:00
EmaMaker be2bff433d status vector now working better. Still have to fix something 2020-02-12 21:44:30 +01:00
EmaMaker 73981ad784 status vector now working better. Still have to fix something 2020-02-12 21:44:00 +01:00
EmaMaker 8634041ecf status vector now working better. Still have to fix something 2020-02-12 21:43:20 +01:00
u-siri-ous 5a9ce6692f not working 2020-02-12 18:53:25 +01:00
EmaMaker fc840b84be corrected a few errors, Furio plays is more precise than ever when playing 2020-02-10 19:55:56 +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 3c09f031f1 status vector c: 2020-02-05 18:57:11 +01:00
u-siri-ous c3ebf4913f storcimento kinda working 2020-02-03 18:59:44 +01:00
EmaMaker 73299bc6c4 Camera angle fix using IMU working once for all 2020-02-03 14:12:04 +01:00