ODrive
ODrive copied to clipboard
Some enum types use values that don't fit in the type
Describe the bug
Some enums (e.g. Motor::Error) have values that are too large for the underlying type. All values above 2^32 are replaced with 0 (e.g. Motor::Error::NONE)
For Motor::Error, this is:
- ERROR_UNKNOWN_VOLTAGE_COMMAND
- ERROR_UNKNOWN_GAINS
- ERROR_CONTROLLER_INITIALIZING
- ERROR_UNBALANCED_PHASES
Additional context https://discourse.odriverobotics.com/t/bug-with-motor-error-enums/8685/2