vehicle_control_mode.flag_armed added, reset integrals in multirotor_att_control when disarmed

This commit is contained in:
Anton Babushkin
2013-08-19 08:43:16 +02:00
parent ffc2a8b7a3
commit 3370ceceaf
7 changed files with 29 additions and 29 deletions
@@ -64,6 +64,8 @@ struct vehicle_control_mode_s
uint16_t counter; /**< incremented by the writing thread everytime new data is stored */
uint64_t timestamp; /**< in microseconds since system start, is set whenever the writing thread stores new data */
bool flag_armed;
bool flag_external_manual_override_ok; /**< external override non-fatal for system. Only true for fixed wing */
// XXX needs yet to be set by state machine helper