From b71403c11ae4e6d3b26cd79e41932f595ffacd88 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 9 May 2020 08:07:11 +0900 Subject: [PATCH] AP_VisualOdom: provide delay to ahrs:writeBodyFrameOdom --- libraries/AP_VisualOdom/AP_VisualOdom_Backend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom_Backend.cpp b/libraries/AP_VisualOdom/AP_VisualOdom_Backend.cpp index 27e85dfeb2..2877d57f19 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom_Backend.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom_Backend.cpp @@ -62,6 +62,7 @@ void AP_VisualOdom_Backend::handle_vision_position_delta_msg(const mavlink_messa angle_delta, time_delta_sec, now_ms, + _frontend.get_delay_ms(), _frontend.get_pos_offset()); // log sensor data