Open Bewgg3 opened 4 years ago
Clarification: If main board code crashes.
If the ESC code is crashes, we MIGHT be able to do some electrical magic to reset (power cycling) to fix it.
EDIT my comment was about the specific issue of main board hanging and motors still running, sorry
It's not the ESC code that's hanging, we ruled that out with the heartbeat. We could set up a watchdog reset timer on the mainboard (set the timer to n milliseconds, reset it every cycle, if it doesn't reset in time the board resets). But that's a pretty nuclear option, it would be much better to not have i2c issues at all, or to handle them softly (assuming it's an i2c issue)
If code crashes the rov goes roge and motors are stuck at what ever values they were set at when code crashes