Monitoring errors

Hi all,

I’ve been playing around with ODrive for the past couple of weeks, both from the terminal and using the standalone Python library. Something I’ve been wondering about is error checking. Currently, as I understand it, if something’s not working, I should call dump_errors to print out all errors, or check on the axis.error property directly. However, I would like, for example, an exception to be raised automatically when an error occurs.

Is this a feature that exists already? Or is there a way of implementing this myself, short of continuously polling axis.error and raising an exception if I find anything? I would greatly appreciate anyone point me in the direction of a built-in feature or an example of something they have implemented themselves to solve this problem.


No, errors must be polled.