From 67f7c6fc1a68b0b4fe024de538a97e3383a253f3 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sun, 1 Sep 2024 16:52:49 +0100 Subject: [PATCH] Tracker: log attitude dt --- AntennaTracker/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AntennaTracker/Log.cpp b/AntennaTracker/Log.cpp index 48048dc1a17cdc..3f82b7f5ca4b8b 100644 --- a/AntennaTracker/Log.cpp +++ b/AntennaTracker/Log.cpp @@ -10,7 +10,7 @@ void Tracker::Log_Write_Attitude() Vector3f targets; targets.y = nav_status.pitch * 100.0f; targets.z = wrap_360_cd(nav_status.bearing * 100.0f); - ahrs.Write_Attitude(targets); + ahrs.Write_Attitude(targets, AP_HAL::micros64(), AP::scheduler().get_last_loop_time_s()); AP::ahrs().Log_Write(); }