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

Bug: Motors dont stop when switching mode while driving #46

Closed Jonny999999 closed 7 months ago

Jonny999999 commented 7 months ago

Sometimes when driving in JOYSTICK mode and switching to MENU while driving the armchair did not stop

Even though idleBothMotors() is executed when switching to MENU mode sometimes the motors stay on!

Race condition in control and button task: stick mode still executing while mode already switched

tasks

Jonny999999 commented 7 months ago

Fixed issue with continue driving after change to idle due to race condition in a5544adeb668f6ac1e71ef4f10dd95719af2ca88 Fixed motorctl timeout not working in a6a630af44375add046985b84c615ead8bba3610