Is there a way to get the dump errors as a string to display in a GUI?
odrive.utils.dump_errors(odrv0)
Displays to the terminal no problem. I wanted to display the errors as a label in pyqt5.
Is there a way to get the dump errors as a string to display in a GUI?
odrive.utils.dump_errors(odrv0)
Displays to the terminal no problem. I wanted to display the errors as a label in pyqt5.
dump_errors just queries axis.error
, axis.motor.error
, etc, then uses the enum.py file to convert from a bitmasked value to a string. You’ll have to do something similar.