Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill Code (if messages aren't received then motors are turned off. #15

Open
Bewgg3 opened this issue Feb 14, 2020 · 3 comments
Open

Kill Code (if messages aren't received then motors are turned off. #15

Bewgg3 opened this issue Feb 14, 2020 · 3 comments
Labels
bug Something isn't working drive critical escboard

Comments

@Bewgg3
Copy link

Bewgg3 commented Feb 14, 2020

If code crashes the rov goes roge and motors are stuck at what ever values they were set at when code crashes

@Bewgg3 Bewgg3 added bug Something isn't working escboard drive critical labels Feb 14, 2020
@JoeF140
Copy link
Contributor

JoeF140 commented Feb 15, 2020

Clarification: If main board code crashes.

@Bewgg3
Copy link
Author

Bewgg3 commented Feb 15, 2020

If the ESC code is crashes, we MIGHT be able to do some electrical magic to reset (power cycling) to fix it.

@calebthejett
Copy link

calebthejett commented Feb 15, 2020

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)

JoeF140 added a commit that referenced this issue Mar 11, 2020
Now based on time instead of loops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working drive critical escboard
Projects
None yet
Development

No branches or pull requests

3 participants