mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-18 18:20:15 +08:00
Sample DRV fault when going to idle. Update Vds setting on DRV
This commit is contained in:
@@ -417,6 +417,7 @@ bool Axis::run_homing() {
|
||||
}
|
||||
|
||||
bool Axis::run_idle_loop() {
|
||||
last_drv_fault_ = motor_.gate_driver_.get_error();
|
||||
mechanical_brake_.engage();
|
||||
set_step_dir_active(config_.enable_step_dir && config_.step_dir_always_on);
|
||||
while (requested_state_ == AXIS_STATE_UNDEFINED) {
|
||||
|
||||
Reference in New Issue
Block a user