Ok, sorry for a noob question…
trying to following hoverboard guide.
when I send:
odrv0.axis0.requested_state = AXIS_STATE_MOTOR_CALIBRATION
no bip or movement on the motor.
I place the 22nf capacitors on the encoders ABZ, and remove just to double check,
tried in anaconda and Cmd python 3.8.6, flash the firmware and start from zero many times.
there is anything else I could check? I can’t find any errors…
Odrive 3.5, 48V firmware updated:
In [1]: odrv0.axis0
Out[1]:
error = 0x0000 (int)
step_dir_active = False (bool)
current_state = 0 (int)
requested_state = 4 (int)
loop_counter = 0 (int)
lockin_state = 0 (int)
is_homed = False (bool)
config:
startup_motor_calibration = False (bool)
startup_encoder_index_search = False (bool)
startup_encoder_offset_calibration = False (bool)
startup_closed_loop_control = False (bool)
startup_sensorless_control = False (bool)
startup_homing = False (bool)
enable_step_dir = False (bool)
step_dir_always_on = False (bool)
turns_per_step = 0.0009765625 (float)
watchdog_timeout = 0.0 (float)
enable_watchdog = False (bool)
step_gpio_pin = 1 (int)
dir_gpio_pin = 2 (int)
calibration_lockin: ...
sensorless_ramp: ...
general_lockin: ...
can_node_id = 0 (int)
can_node_id_extended = False (bool)
can_heartbeat_rate_ms = 100 (int)
fet_thermistor:
error = 0x0000 (int)
temperature = nan (float)
config: ...
motor_thermistor:
error = 0x0000 (int)
temperature = nan (float)
config: ...
motor:
error = 0x0000 (int)
armed_state = 0 (int)
is_calibrated = False (bool)
current_meas_phB = 0.0 (float)
current_meas_phC = 0.0 (float)
DC_calib_phB = 0.0 (float)
DC_calib_phC = 0.0 (float)
phase_current_rev_gain = 0.012500000186264515 (float)
effective_current_lim = 10.0 (float)
current_control: ...
gate_driver: ...
timing_log: ...
config: ...
controller:
error = 0x0000 (int)
input_pos = 0.0 (float)
input_vel = 0.0 (float)
input_torque = 0.0 (float)
pos_setpoint = 0.0 (float)
vel_setpoint = 0.0 (float)
torque_setpoint = 0.0 (float)
trajectory_done = True (bool)
vel_integrator_torque = 0.0 (float)
anticogging_valid = False (bool)
config: ...
move_incremental(displacement: float, from_input_pos: bool)
start_anticogging_calibration()
encoder:
error = 0x0000 (int)
is_ready = False (bool)
index_found = False (bool)
shadow_count = 0 (int)
count_in_cpr = 0 (int)
interpolation = 0.0 (float)
phase = 0.0 (float)
pos_estimate = 0.0 (float)
pos_estimate_counts = 0.0 (float)
pos_cpr = 0.0 (float)
pos_cpr_counts = 0.0 (float)
pos_circular = 0.0 (float)
hall_state = 0 (int)
vel_estimate = 0.0 (float)
vel_estimate_counts = 0.0 (float)
calib_scan_response = 0.0 (float)
pos_abs = 0 (int)
spi_error_rate = 0.0 (float)
config: ...
set_linear_count(count: int)
sensorless_estimator:
error = 0x0000 (int)
phase = 0.0 (float)
pll_pos = 0.0 (float)
vel_estimate = 0.0 (float)
config: ...
trap_traj:
config: ...
min_endstop:
endstop_state = False (bool)
config: ...
max_endstop:
endstop_state = False (bool)
config: ...
watchdog_feed()
clear_errors()
In [2]:In [2]: 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