Jonny999999 / armchair_fw

Firmware for a homemade automated electric armchair using an esp32 controller on a custom pcb
https://pfusch.zone/electric-armchair-v2
0 stars 0 forks source link

joystick get coordinates, snap to 1 in negative direction not working #15

Closed Jonny999999 closed 1 year ago

Jonny999999 commented 1 year ago

x / y coordinates do not snap to -1 even though the confiured max adc value is reached apparently snap feature works the wrong way

might also fix weird turning behavior since radius gets calculated correctly?

Jonny999999 commented 1 year ago

was issue with mistaken wrong calibration config (value is inverted)
additionally, radius was issue due to wrong scaling d715f2e0f1c82c65daf3b925532eddbb9e1ac62b