High performance motor control
encoder.set_linear_count(count)
function.calib_scan_distance
and calib_scan_omega
calib_scan_response
dump_errors()
utility function in odrivetool to dump, decode and optionally clear errors.f
command to ascii protocol to get encoder position and velocity feedback.q
command to ascii protocol. It is like the old p
command, but velocity and current mean limits, not feed-forward.ss
, se
, sr
commands to ascii protocol, for save config, erase config and reboot.move_incremental
function for relative trajectory moves.encoder.config.ignore_illegal_hall_state
option.encoder.config.enable_phase_interpolation
option. Setting to false may reduce jerky pulsations at low speed when using hall sensor feedback.encoder.config.zero_count_on_find_idx
, true by default. Set to false to leave the initial encoder count to be where the axis was at boot.controller.vel_ramp_enable
to true. This will ramp controller.vel_setpoint
towards controller.vel_ramp_target
at a ramp rate of controller.config.vel_ramp_rate
.axis.enable_step_dir
to axis.step_dir_active
TimeoutError
isn't defined, but it makes for more readable code, so I defined it as an OSError subclass.ModuleNotFoundError
is replaced by the older ImportError.motor.config.current_control_bandwidth
motor.set_current_control_bandwidth()
encoder.config.bandwidth
motor.resistance_calib_max_voltage
changed to 2.0pll_vel
-> vel_estimate
.ERROR_INVALID_STATE
you could never clear itmotor.config.requested_current_range
motor.config.current_control_bandwidth
and motor.set_current_control_bandwidth
. Latter required to invoke gain recalculation.encoder.config.bandwidth