jonny a5544adeb6 Fix race condition causing bug: motors stay on after mode-change
Add mutex to fix bug motors stay on when mode-change while driving
due to race condition when handle() still executing while mode change

Change joystick scaling parameters

control:
    - add mutex to handle() and changemode() to prevent race condition
    - outsource handle() method from createHandleLoop()
    - change joystick scaling (reduce 'more detail in slower area')
    - comments, formatting
2024-03-06 11:59:39 +01:00
..
2024-02-19 13:54:22 +01:00
2024-02-19 13:54:22 +01:00