Copter: Write_Rate() moved to AC_AttitudeControl

This commit is contained in:
Andy Piper 2024-09-04 10:09:22 +01:00 committed by Peter Hall
parent c7b0dfc915
commit ff72e163d9
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ void Copter::Log_Write_Control_Tuning()
void Copter::Log_Write_Attitude()
{
ahrs.Write_Attitude(attitude_control->get_att_target_euler_rad() * RAD_TO_DEG);
ahrs_view->Write_Rate(*motors, *attitude_control, *pos_control);
}
attitude_control->Write_Rate(*pos_control);
}
// Write PIDS packets
void Copter::Log_Write_PIDS()