mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
added field for pressure altitude to global position
This commit is contained in:
@@ -2602,7 +2602,7 @@ protected:
|
||||
if (updated) {
|
||||
mavlink_altitude_t msg;
|
||||
|
||||
msg.altitude_monotonic = global_pos.alt;
|
||||
msg.altitude_monotonic = global_pos.pressure_alt;
|
||||
msg.altitude_amsl = global_pos.alt;
|
||||
msg.altitude_local = -local_pos.z;
|
||||
msg.altitude_relative = home.alt;
|
||||
|
||||
Reference in New Issue
Block a user