|
|
|
@ -820,11 +820,7 @@ protected:
@@ -820,11 +820,7 @@ protected:
|
|
|
|
|
msg.groundspeed = sqrtf(pos.vel_n * pos.vel_n + pos.vel_e * pos.vel_e); |
|
|
|
|
msg.heading = _wrap_2pi(att.yaw) * M_RAD_TO_DEG_F; |
|
|
|
|
msg.throttle = armed.armed ? act.control[3] * 100.0f : 0.0f; |
|
|
|
|
/*
|
|
|
|
|
Do not use sensor_combined.baro_alt_meter here because
|
|
|
|
|
it is mismatched with WSG84 AMSL used elsewhere for reporting altitude. |
|
|
|
|
*/ |
|
|
|
|
msg.alt = pos.alt; |
|
|
|
|
msg.alt = sensor_combined.baro_alt_meter; |
|
|
|
|
msg.climb = -pos.vel_d; |
|
|
|
|
|
|
|
|
|
_mavlink->send_message(MAVLINK_MSG_ID_VFR_HUD, &msg); |
|
|
|
|