machineagency / science-jubilee

Controlling Jubilees for Science!
https://science-jubilee.readthedocs.io/
MIT License
24 stars 10 forks source link

Crash detect #174

Closed brendenpelkie closed 1 month ago

brendenpelkie commented 1 month ago

Resolves #[Add issue number here]

Changes:

This PR adds crash detection capabilities to the jubilee python interface. See the docs for more details on what this looks like on Jubilee. This PR modifys the machine.gcode method to monitor for a 'crash detected' message published by duet if a tool ball trigger is detected. It also adds utils/Handlers.py, which currently contains a slack error handler that can be used to message a user on slack and wait for input to proceed after detecting a crash.

PR Checklist