Errors are handy, they trigger to save you from disaster. But how to recover with a push of a button?
To my knowledge, you can either power off and on, or you can type
dump.errors(odrv0, True) odrv0.axis1.requested_state=8 odrv0.axis0.requested_state=8
to the Odrivetool.
When I first got aquainted with Odrive, I thought I could simply program it using the Odrivetool. The Getting Started guide clearly states: “The tool you’re looking at is a fully capable Python command prompt, so you can type any valid python code.” So I thought I just need to write some code into the command line together with all the settings.
if(odrv0.get_adc_voltage(1)<1) dump_errors(odrv0, True) odrv0.axis1.requested_state=8 odrv0.axis0.requested_state=8
But it appears not to be this trivial. So how does it work? Is tweaking the firmware the only option?