Browse Source

Change waypoint/command storage to include options byte.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1809 f9c3cf11-9bcb-44bc-f272-b75c42450872
master
deweibel@gmail.com 14 years ago
parent
commit
596b33a08b
  1. 1
      libraries/AP_Common/AP_Common.h

1
libraries/AP_Common/AP_Common.h

@ -140,6 +140,7 @@ static inline size_t strlcat_P(char *buffer, const prog_char_t *pstr, size_t buf
struct Location { struct Location {
uint8_t id; ///< command id uint8_t id; ///< command id
uint8_t options; ///< options bitmask (1<<0 = relative altitude)
uint8_t p1; ///< param 1 uint8_t p1; ///< param 1
int32_t alt; ///< param 2 - Altitude in centimeters (meters * 100) int32_t alt; ///< param 2 - Altitude in centimeters (meters * 100)
int32_t lat; ///< param 3 - Lattitude * 10**7 int32_t lat; ///< param 3 - Lattitude * 10**7

Loading…
Cancel
Save