mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 06:33:34 +08:00
mavlink: ALTITUDE stream initialize local_pos
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
|
||||
bool lpos_updated = false;
|
||||
|
||||
vehicle_local_position_s local_pos;
|
||||
vehicle_local_position_s local_pos{};
|
||||
|
||||
if (_local_pos_sub.copy(&local_pos)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user