engine_failure flag

Added engine_failure flag to behicle status, alsoset_nav_state in the
state machine helper takes this flag into account
This commit is contained in:
Thomas Gubler
2014-07-24 22:29:04 +02:00
parent 303664d94a
commit 1b2f9070ea
2 changed files with 18 additions and 7 deletions
+4 -2
View File
@@ -201,8 +201,10 @@ struct vehicle_status_s {
bool rc_signal_lost; /**< true if RC reception lost */
bool rc_input_blocked; /**< set if RC input should be ignored */
bool data_link_lost; /**< datalink to GCS lost */
uint8_t data_link_lost_counter; /**< counts unique data link lost events */
bool data_link_lost; /**< datalink to GCS lost */
uint8_t data_link_lost_counter; /**< counts unique data link lost events */
bool engine_failure; /** Set to true if an engine failure is detected */
bool offboard_control_signal_found_once;
bool offboard_control_signal_lost;