EmaMaker
686c35b85f
position system camera & motors: proper vector sum, value tweaking
2021-04-14 15:00:43 +02:00
EmaMaker
3308c26ef4
striker: robot tilt towards the goal when attacking
...
Although without a roller the robot just sky-rockets the ball away when they come in touch
2021-04-14 14:58:15 +02:00
EmaMaker
95a601f030
keeper: small value tweaking
2021-04-14 14:57:08 +02:00
EmaMaker
9c8091851e
complementary filter: default init of variable which may have caused crashes
2021-04-14 14:56:12 +02:00
EmaMaker
db26808344
test menu: complete refactor
...
and add camera tilt test
2021-04-14 14:54:49 +02:00
EmaMaker
325656d810
ball sensor: ball angle in absolute space
2021-03-29 15:44:19 +02:00
EmaMaker
f26cbf4984
movement: enable vector sum for multiple movements in a single cycle
2021-03-22 14:03:53 +01:00
EmaMaker
0aeb92ac27
positionsys camera: introduce an easy way to counter act bad mirror positioning
...
This allows to define each point relative to the absolute center of the field shifting each Move Setpoint by a defined user-calibrated amount
2021-03-01 21:47:10 +01:00
EmaMaker
7deaeff7c0
holon movement: recalculate max possible velocity
...
The velocity has been calculated by using the holon movement formulas in an excel spritesheetand and empirically tested to find a suitable value
2021-03-01 21:45:32 +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
b657d88846
striker: use striker based on old Latino's code
2021-03-01 18:37:42 +01:00
EmaMaker
019831e237
remove old unused line systems
2021-03-01 18:36:47 +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
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
aaa883b250
roles: go back to normal striker
2021-01-31 18:42:32 +01:00
EmaMaker
dcdb5ac9d3
camera: update scripts, line and position handling for H7
2021-01-31 18:42:03 +01:00
EmaMaker
83bb6f28d5
game: fix order of updating that causes crashes
2021-01-31 18:40:33 +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
b4bc48b9ed
systems: introduce empty systems for testing purposes
2021-01-11 15:44:33 +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
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
57fe2fd18c
test: add a couple of tests for 32u4
2020-12-17 13:17:00 +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
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
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
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
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