defines.h: Toy Mode defines for flight modes

This commit is contained in:
Jason Short 2012-06-29 14:36:42 -07:00
parent 40e0d88d12
commit 49243bc206

View File

@ -17,13 +17,14 @@
#define YAW_ACRO 1
#define YAW_AUTO 2
#define YAW_LOOK_AT_HOME 3
#define YAW_TOY 4
#define YAW_TOY 4 // THOR This is the Yaw mode
#define ROLL_PITCH_STABLE 0
#define ROLL_PITCH_ACRO 1
#define ROLL_PITCH_AUTO 2
#define ROLL_PITCH_STABLE_OF 3
#define ROLL_PITCH_TOY 4
#define ROLL_PITCH_TOY 4 // THOR This is the Roll and Pitch mode
#define THROTTLE_MANUAL 0
#define THROTTLE_HOLD 1
@ -124,7 +125,7 @@
#define LAND 9 // AUTO control
#define OF_LOITER 10 // Hold a single location using optical flow sensor
#define APPROACH 11 // AUTO control
#define TOY 12 // Manual control
#define TOY 12 // THOR Enum for Toy mode
#define NUM_MODES 13
#define SIMPLE_1 1
@ -198,7 +199,7 @@
#define WP_MODE 2
#define CIRCLE_MODE 3
#define NO_NAV_MODE 4
#define TOY_MODE 5
#define TOY_MODE 5 // THOR This mode defines the Virtual WP following mode
// Waypoint options
#define MASK_OPTIONS_RELATIVE_ALT 1