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:
Paul Riseborough
2017-12-06 07:29:19 +11:00
committed by Lorenz Meier
parent a81c49014f
commit 024589d63d

View File

@@ -12,3 +12,6 @@ float32 yaw # Yaw angle in radians
float32 direction_x # Takeoff direction in NED X
float32 direction_y # Takeoff direction in NED Y
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