Closed Jonny999999 closed 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
re-arrange delay in modes?
add mutex to wait for finished cycle?
also re-test 10s timeout in motorctl since it logged the error message but did not stop?
Re-evaluate the approach only setting the duty once at mode change in general
Fixed issue with continue driving after change to idle due to race condition in a5544adeb668f6ac1e71ef4f10dd95719af2ca88 Fixed motorctl timeout not working in a6a630af44375add046985b84c615ead8bba3610
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
re-arrange delay in modes?
add mutex to wait for finished cycle?
also re-test 10s timeout in motorctl since it logged the error message but did not stop?
Re-evaluate the approach only setting the duty once at mode change in general