mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GCS_MAVLink: accomodate change in EKF2 interface
This commit is contained in:
parent
6c2dc3ccf8
commit
243888e923
@ -232,7 +232,7 @@ void GCS_MAVLINK::send_ahrs2(AP_AHRS &ahrs)
|
||||
loc.lng);
|
||||
}
|
||||
AP_AHRS_NavEKF &_ahrs = reinterpret_cast<AP_AHRS_NavEKF&>(ahrs);
|
||||
if (_ahrs.get_NavEKF2().enabled()) {
|
||||
if (_ahrs.get_NavEKF2().activeCores() > 0) {
|
||||
_ahrs.get_NavEKF2().getLLH(loc);
|
||||
_ahrs.get_NavEKF2().getEulerAngles(euler);
|
||||
mavlink_msg_ahrs3_send(chan,
|
||||
|
Loading…
Reference in New Issue
Block a user