albertaloop / Firmware

0 stars 0 forks source link

Send status messages from Brake Controller to state machine over CANbus #9

Open Iyury1 opened 1 week ago

Iyury1 commented 1 week ago

Summary

The Brake Controller receives commands from the state machine over CANbus.

When the messages are received, actuators are turned on or off. For the brake controller, the actuator is a solenoid.

The brake controller should also SEND a message over CANbus, to communicate the board status. If the state machine does not receive this message fast enough, then the brake controller is assumed to be down.

We need to get Matteo to upload his brake controller code to github first of all.