Merged in upstream master

This commit is contained in:
TickTock-
2014-04-27 12:43:13 -07:00
50 changed files with 815 additions and 514 deletions
@@ -78,7 +78,11 @@ struct manual_control_setpoint_s {
switch_pos_t mode_switch; /**< mode 3 position switch (mandatory): manual, assisted, auto */
switch_pos_t return_switch; /**< land 2 position switch (mandatory): land, no effect */
<<<<<<< HEAD
switch_pos_t easy_switch; /**< assisted 2 position switch (optional): seatbelt, simple */
=======
switch_pos_t assisted_switch; /**< assisted 2 position switch (optional): seatbelt, simple */
>>>>>>> ad77ba26427aa9a2d8b8241fc95271667a1c0863
switch_pos_t loiter_switch; /**< mission 2 position switch (optional): mission, loiter */
}; /**< manual control inputs */
+4
View File
@@ -64,7 +64,11 @@ enum RC_CHANNELS_FUNCTION {
YAW = 3,
MODE = 4,
RETURN = 5,
<<<<<<< HEAD
EASY = 6,
=======
ASSISTED = 6,
>>>>>>> ad77ba26427aa9a2d8b8241fc95271667a1c0863
LOITER = 7,
OFFBOARD_MODE = 8,
FLAPS = 9,
+2
View File
@@ -69,6 +69,8 @@ typedef enum {
MAIN_STATE_MAX
} main_state_t;
// If you change the order, add or remove arming_state_t states make sure to update the arrays
// in state_machine_helper.cpp as well.
typedef enum {
ARMING_STATE_INIT = 0,
ARMING_STATE_STANDBY,