You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Less commonly checked variables, like brake state, aren't worth a whole API to acquire a mutex, set a brake state, and then release every 10ms.
Acceptance Criteria
Use a read_brake_state command.
Proposed Solution
To make this better, just get the brake state via the PDU API. Since get is infrequent this performance hit of i2c will be commutatively less than calling mutexes in the brake loop.
The text was updated successfully, but these errors were encountered:
Description
Less commonly checked variables, like brake state, aren't worth a whole API to acquire a mutex, set a brake state, and then release every 10ms.
Acceptance Criteria
Use a read_brake_state command.
Proposed Solution
To make this better, just get the brake state via the PDU API. Since get is infrequent this performance hit of i2c will be commutatively less than calling mutexes in the brake loop.
The text was updated successfully, but these errors were encountered: