Struggling with Hoover Motors to run - Error at The "Closed_loop_Control"

Everything went well with the configuration from top to bottom without any errors in dump_errors(odrv0, True) But when I am trying to test RUN it then got the error. @towen

I am running 2 Hoover motors on a 40v 5Ah battery.

In [67]: odrv0.axis1.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL

In [68]: odrv0.axis1.controller.input_vel = 1

In [69]: dump_errors(odrv0, True)
system: Error(s):
ODRIVE_ERROR_DC_BUS_OVER_REGEN_CURRENT
axis0
axis: no error
motor: Error(s):
MOTOR_ERROR_SYSTEM_LEVEL
sensorless_estimator: no error
encoder: no error
controller: no error
axis1
axis: no error
motor: Error(s):
MOTOR_ERROR_SYSTEM_LEVEL
sensorless_estimator: no error
encoder: no error
controller: no error

odrv0.config.enable_brake_resistor = True
odrv0.save_configuration()

These two lines of configuration saved my day.

2 Likes