Skip to content

Commit

Permalink
AP_VisualOdom: integrate rename to using_noncompass_for_yaw
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 authored and tridge committed Aug 30, 2021
1 parent b4e073d commit b984f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b984f13

Please sign in to comment.