Skip to content

Commit

Permalink
Rover: log attitude dt
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Sep 4, 2024
1 parent 7ab4e71 commit b1d6586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rover/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void Rover::Log_Write_Attitude()
float desired_pitch_cd = degrees(g2.attitude_control.get_desired_pitch()) * 100.0f;
const Vector3f targets(0.0f, desired_pitch_cd, 0.0f);

ahrs.Write_Attitude(targets, AP::scheduler().get_loop_start_time_us());
ahrs.Write_Attitude(targets, AP::scheduler().get_loop_start_time_us(), AP::scheduler().get_last_loop_time_s());

AP::ahrs().Log_Write();

Expand Down

0 comments on commit b1d6586

Please sign in to comment.