Browse Source

AP_Common: added terrain_alt flag to Location

signifies that the altitude is a above terrain altitude
mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
8a48f06d18
  1. 1
      libraries/AP_Common/AP_Common.h

1
libraries/AP_Common/AP_Common.h

@ -96,6 +96,7 @@ struct PACKED Location_Option_Flags { @@ -96,6 +96,7 @@ struct PACKED Location_Option_Flags {
uint8_t relative_alt : 1; // 1 if altitude is relateive to home
uint8_t unused1 : 1; // unused flag (defined so that loiter_ccw uses the correct bit)
uint8_t loiter_ccw : 1; // 0 if clockwise, 1 if counter clockwise
uint8_t terrain_alt : 1; // this altitude is above terrain
};
struct PACKED Location {

Loading…
Cancel
Save