From 9ef27955b540f4d42a9cb3882417e9e189b602f7 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 28 Feb 2014 15:55:53 +0900 Subject: [PATCH] Common: add location options masks --- libraries/AP_Common/AP_Common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Common/AP_Common.h b/libraries/AP_Common/AP_Common.h index 252c6c9731..65099b9a7e 100644 --- a/libraries/AP_Common/AP_Common.h +++ b/libraries/AP_Common/AP_Common.h @@ -87,6 +87,8 @@ /// bit 7: Move to next Command 0: YES, 1: Loiter until commanded //@{ +#define LOCATION_MASK_OPTIONS_RELATIVE_ALT (1<<0) // 1 = Relative altitude +#define LOCATION_MASK_OPTIONS_LOITER_DIRECTION (1<<2) // 0 = CW, 1 = CCW struct Location { uint8_t id; ///< command id