aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-07-24 22:29:04 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-07-24 22:29:04 +0200
commit1b2f9070ea063255aca4a882e4adda7f89e082e7 (patch)
treedafb87287d60075d9d4075b5073f15253fd52f51 /src/modules/uORB
parent303664d94af4949bcc7f1c3393f82eb242a60c5e (diff)
downloadpx4-firmware-1b2f9070ea063255aca4a882e4adda7f89e082e7.tar.gz
px4-firmware-1b2f9070ea063255aca4a882e4adda7f89e082e7.tar.bz2
px4-firmware-1b2f9070ea063255aca4a882e4adda7f89e082e7.zip
engine_failure flag
Added engine_failure flag to behicle status, alsoset_nav_state in the state machine helper takes this flag into account
Diffstat (limited to 'src/modules/uORB')
-rw-r--r--src/modules/uORB/topics/vehicle_status.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/vehicle_status.h b/src/modules/uORB/topics/vehicle_status.h
index c2926dce8..a47488621 100644
--- a/src/modules/uORB/topics/vehicle_status.h
+++ b/src/modules/uORB/topics/vehicle_status.h
@@ -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;