Browse Source

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.
sbg
Paul Riseborough 7 years ago committed by Lorenz Meier
parent
commit
024589d63d
  1. 3
      msg/home_position.msg

3
msg/home_position.msg

@ -12,3 +12,6 @@ float32 yaw # Yaw angle in radians @@ -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

Loading…
Cancel
Save