From b984f1370cdb321b8d3db453d1b9fb8ad9c94e0b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 18 Aug 2021 16:35:11 +0900 Subject: [PATCH] AP_VisualOdom: integrate rename to using_noncompass_for_yaw --- libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp b/libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp index 9db3204aa6..6ddb0d901c 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp @@ -130,7 +130,7 @@ void AP_VisualOdom_IntelT265::rotate_attitude(Quaternion &attitude) const bool AP_VisualOdom_IntelT265::align_sensor_to_vehicle(const Vector3f &position, const Quaternion &attitude) { // do not align to ahrs if it is using us as its yaw source - if (AP::ahrs().is_ext_nav_used_for_yaw()) { + if (AP::ahrs().using_noncompass_for_yaw()) { return false; }