mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 23:44:48 +08:00
implement dc bus brownout check
This commit is contained in:
@@ -62,8 +62,8 @@ void Axis::StateMachineLoop() {
|
||||
for (;;) {
|
||||
// Keep rotor estimation up to date while idling
|
||||
osSignalWait(M_SIGNAL_PH_CURRENT_MEAS, osWaitForever);
|
||||
update_rotor(legacy_motor_ref_);
|
||||
|
||||
loop_updates(legacy_motor_ref_);
|
||||
|
||||
if (do_calibration_) {
|
||||
do_calibration_ = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user