mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
msg: Add separate vertical and horizontal validity flags to home_position
If we have taken off without GPS and gained it in flight, the home vertical position can be set, but not the horizontal.
This commit is contained in:
committed by
Lorenz Meier
parent
a81c49014f
commit
024589d63d
@@ -12,3 +12,6 @@ float32 yaw # Yaw angle in radians
|
|||||||
float32 direction_x # Takeoff direction in NED X
|
float32 direction_x # Takeoff direction in NED X
|
||||||
float32 direction_y # Takeoff direction in NED Y
|
float32 direction_y # Takeoff direction in NED Y
|
||||||
float32 direction_z # Takeoff direction in NED Z
|
float32 direction_z # Takeoff direction in NED Z
|
||||||
|
|
||||||
|
bool valid_alt # true when the altitude has been set
|
||||||
|
bool valid_hpos # true when the latitude and longitude have been set
|
||||||
|
|||||||
Reference in New Issue
Block a user