add simplistic gps failure detection

This commit is contained in:
Thomas Gubler
2014-07-27 00:55:43 +02:00
parent c5b97fdb1f
commit db5d668439
2 changed files with 17 additions and 0 deletions
+1
View File
@@ -206,6 +206,7 @@ struct vehicle_status_s {
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 gps_failure; /** Set to true if a gps failure is detected */
bool offboard_control_signal_found_once;
bool offboard_control_signal_lost;