mc_att_control: don't use main state for RATTITUDE

Instead of the state use the boolean flags.
This commit is contained in:
Julian Oes
2016-04-11 18:01:48 +02:00
parent 5c9713f05b
commit 1ad0ee0fae
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ bool flag_control_auto_enabled # true if onboard autopilot should act
bool flag_control_offboard_enabled # true if offboard control should be used
bool flag_control_rates_enabled # true if rates are stabilized
bool flag_control_attitude_enabled # true if attitude stabilization is mixed in
bool flag_control_rattitude_enabled # true if rate/attitude stabilization is enabled
bool flag_control_force_enabled # true if force control is mixed in
bool flag_control_velocity_enabled # true if horizontal velocity (implies direction) is controlled
bool flag_control_position_enabled # true if position is controlled