Files
ODrive/tools
thatcomputerguy0101 8b37784e8c Fix current_state in can_example.py
The documentation, CAN doc file, and firmware all indicate that the current state is only one byte of the heartbeat message. This file used to read four bytes as the state on line 21, but only one byte on line 49. This PR adjusts line 21 so that it only uses one byte, making this example work. Otherwise, it incorrectly reads the flags that occupy the next three bytes as part of the state, which can cause the idle state to never be recognized.
2022-03-21 21:28:38 -04:00
..
2022-02-14 11:18:26 +01:00
2021-06-28 21:29:49 -04:00
2021-06-28 21:29:49 -04:00
2021-09-03 18:30:08 +02:00
2021-04-29 20:17:51 -04:00
2021-09-03 16:35:21 +02:00
2021-01-06 21:18:27 +01:00