mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-22 08:04:07 +08:00
feed watchdog on enter closed loop
This commit is contained in:
@@ -419,6 +419,7 @@ void Axis::run_state_machine_loop() {
|
||||
goto invalid_state_label;
|
||||
if (!encoder_.is_ready_)
|
||||
goto invalid_state_label;
|
||||
watchdog_feed();
|
||||
status = run_closed_loop_control_loop();
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user