mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 09:50:35 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user