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