AP_VisualOdom: integrate rename to using_noncompass_for_yaw

This commit is contained in:
Randy Mackay 2021-08-18 16:35:11 +09:00 committed by Andrew Tridgell
parent b4e073d6f7
commit b984f1370c
1 changed files with 1 additions and 1 deletions

View File

@ -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) 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 // 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; return false;
} }