mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +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