Hi! I am struggling to make my odrive work with my motor.
The parts I am using are:
FLASH HOBBY D2836 880KV Brushless Outrunner Motor (https://www.amazon.com/gp/product/B089YN3DBR/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1)
CUI AMT102-V Encoder (https://www.arrow.com/en/products/amt102-v/cui-devices?gclid=CjwKCAjwrfCRBhAXEiwAnkmKmdWbt3WBQh8rz0gs0FN5naOOZqv7-7jPvKP--Wmshr8S9dOKJ_VJexoCCYkQAvD_BwE&gclsrc=aw.ds)
a 15V battery
and the ODrive V3.6
(no brake resistor)
I am trying to go through the getting started, and here is what I am entering on the odrivetool:
odrv0.axis0.motor.config.current_lim = 10
odrv0.axis0.controller.config.vel_limit = 2
odrv0.axis0.motor.config.calibration_current = 10
odrv0.config.dc_max_negative_current = -10
odrv0.axis0.motor.config.pole_pairs = 7
odrv0.axis0.motor.config.torque_constant = 0.00939772727
odrv0.axis0.motor.config.motor_type = MOTOR_TYPE_HIGH_CURRENT
odrv0.axis0.encoder.config.cpr = 8192
odrv0.save_configuration()
odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
The calibration successfully makes the motor beep and turn then reverse, however the closed loop control does nothing. Do you have any advice on how I can fix it?
Running dump_errors(odrv0) after trying the closed loop control gives me:
system: no error
axis0
axis: no error
motor: Error(s):
MOTOR_ERROR_UNKNOWN_TORQUE
MOTOR_ERROR_UNKNOWN_VOLTAGE_COMMAND
sensorless_estimator: no error
encoder: no error
controller: Error(s):
CONTROLLER_ERROR_OVERSPEED
axis1
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error