-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(hardware): change the format of the motor usage response (#12541)
* add ids for motor usage types * refactor the motor usage message, fields, and write a custom parser * format * throw in a cheeky little sleep at the end of the dump-eeprom script so that last few responses have time to process before the script exits * bit shift motor usage values right if they're smaller than 8 bytes so the final value is accurate * print out the motor usage value type description pretty * don't pop the num_elements just access it when deserializing * reduce the size of motorUsageField by 1 byte so we can pack in 5 values per can message * format * fix parsing the smaller length value
- Loading branch information
1 parent
f22a294
commit 5efec97
Showing
4 changed files
with
112 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters