Skip to content

Commit

Permalink
Copter: log dt and extra in ATT
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Sep 1, 2024
1 parent 58178f1 commit 0331a8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArduCopter/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ void Copter::Log_Write_Attitude()
{
Vector3f targets = attitude_control->get_att_target_euler_cd();
targets.z = wrap_360_cd(targets.z);
ahrs.Write_Attitude(targets, attitude_control->get_sample_time_us());
ahrs.Write_Attitude(targets, attitude_control->get_sample_time_us(),
attitude_control->get_dt(), AP::scheduler().get_extra_loop_us());
}

void Copter::Log_Write_Rate()
Expand Down

0 comments on commit 0331a8b

Please sign in to comment.