Input_pos suddenly not working. please help

I have original Odrive with firmware version 0.5.1.
Until today everything worked great. But today something is failing and I can not figure out what, hope you can give me some clues what am I doing wrong.
I do same procedure every time: 1. start full calibration, 2. check if everything is ok, 3. set to closed loop state, 4. change input_pos.
Motors goes over calibration sequence without issues - they are turning. In closed loop state they hold position as they should. But when I change input_pos, trying to control position, motors doesn’t turn, input_pos also stays the same.

Control mode is 3=“CONTROL_MODE_POSITION_CONTROL”
Input mode is 5=“INPUT_MODE_TRAP_TRAJ”

Config for trap_traj are the same as before:
vel_limit = 100.0 (float)
accel_limit = 100.0 (float)
decel_limit = 100.0 (float)

I am lost, tried almost everything except factory reset. Please help.

Full sequence log:

Connected to ODrive 206D39684D4D as odrv0
In [1]: odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE

In [2]: odrv0.axis1.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE

In [3]: odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL

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

In [5]: odrv0.axis0.controller.input_pos = 1

In [6]: odrv0.axis0.controller.input_pos = 5

In [7]: odrv0.axis0.controller.input_pos
Out[7]: 0.0055555556900799274

In [8]: odrv0.axis0.controller.input_pos = 1

In [9]: odrv0.axis0.controller.input_pos
Out[9]: 0.0055555556900799274

In [10]: dump_errors(odrv0)
axis0
axis: no error
motor: no error
fet_thermistor: no error
motor_thermistor: no error
encoder: no error
controller: no error
axis1
axis: no error
motor: no error
fet_thermistor: no error
motor_thermistor: no error
encoder: no error
controller: no error

Solved with reset config to defaults and new setup.

1 Like

Weird that input_pos was getting reset. Oh well

1 Like

Its happening to me as well. I’ve created a new thread in discussion of that.