Copter: reset sysid and other temporary inputs after rate cycle

This commit is contained in:
Andy Piper 2024-08-15 10:21:56 +01:00 committed by Peter Barker
parent 6b5da48641
commit c67601b19f
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ void Copter::run_rate_controller()
pos_control->set_dt(last_loop_time_s);
// run low level rate controllers that only require IMU data
attitude_control->rate_controller_run();
attitude_control->rate_controller_run();
// reset sysid and other temporary inputs
attitude_control->rate_controller_target_reset();
}
/*************************************************************