diff --git a/Firmware/MotorControl/low_level.c b/Firmware/MotorControl/low_level.c index 34082679..96826b0d 100644 --- a/Firmware/MotorControl/low_level.c +++ b/Firmware/MotorControl/low_level.c @@ -70,8 +70,8 @@ Motor_t motors[] = { .vel_integrator_current = 0.0f, // [A] .vel_limit = 20000.0f, // [counts/s] .current_setpoint = 0.0f, // [A] - .calibration_current = 10.0f, // [A] If > 10A then resistance_calib_max_voltage may need to be increased - .resistance_calib_max_voltage = 1.0f, // [V] + .calibration_current = 10.0f, // [A] + .resistance_calib_max_voltage = 1.0f, // [V] - You may need to increase this if this voltage isn't sufficient to drive calibration_current through the motor. .phase_inductance = 0.0f, // to be set by measure_phase_inductance .phase_resistance = 0.0f, // to be set by measure_phase_resistance .motor_thread = 0, @@ -176,7 +176,7 @@ Motor_t motors[] = { .vel_limit = 20000.0f, // [counts/s] .current_setpoint = 0.0f, // [A] .calibration_current = 10.0f, // [A] - .resistance_calib_max_voltage = 1.0f, // [V] + .resistance_calib_max_voltage = 1.0f, // [V] - You may need to increase this if this voltage isn't sufficient to drive calibration_current through the motor. .phase_inductance = 0.0f, // to be set by measure_phase_inductance .phase_resistance = 0.0f, // to be set by measure_phase_resistance .motor_thread = 0,