I need help making the motors move this is what I input for my codes and it calibrates properly full rotations, but I put it into closed loop and input different positions it doesn’t move.
I use Eagle Power Motor 8308 KV90
and I use 600P/R Rotary Encoder, Aideepen AB 2 Phase Incremental Rotary Encoder 6mm Shaft 5V-24V Wide Voltage for the encoders
In [1]: odrv0.axis0.motor.config.pole_pairs = 20
In [2]: odrv0.axis0.encoder.config.cpr = 2400
In [3]: odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
In [4]: dump_errors(odrv0)
system: not found
axis0
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error
axis1
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error
In [5]: odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
In [6]: odrv0.axis0.controller.input_pos = 10
In [7]: odrv0.axis0.controller.input_pos = 20