mirror of https://github.com/ArduPilot/ardupilot
AP_VisualOdom: integrate rename to using_noncompass_for_yaw
This commit is contained in:
parent
b4e073d6f7
commit
b984f1370c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue