MB3hel / AUVControlBoard

Vectored 6-DOF motion controller for AUVs.
https://mb3hel.github.io/AUVControlBoard/
2 stars 2 forks source link

[FEATURE] Better failure state behavior #14

Closed MB3hel closed 1 year ago

MB3hel commented 1 year ago

Failure state should write some persistent memory with cause (eg stack overflow) and reset the board instead of just deadlocking forever.

MB3hel commented 1 year ago

Reset cause is now stored between soft resets on both boards. Can be queried using a command or with interface whyreset.py script (./launch.py whyreset.py -p /dev/ttyACM1)