mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 11:43:34 +08:00
is_vtol flag in vehicle_status
Getting rid of the autostart based checks if the system is a vtol Fixes #1503
This commit is contained in:
@@ -185,7 +185,9 @@ struct vehicle_status_s {
|
||||
int32_t system_id; /**< system id, inspired by MAVLink's system ID field */
|
||||
int32_t component_id; /**< subsystem / component id, inspired by MAVLink's component ID field */
|
||||
|
||||
bool is_rotary_wing;
|
||||
bool is_rotary_wing; /**< True if system is in rotary wing configuration, so for a VTOL
|
||||
this is only true while flying as a multicopter */
|
||||
bool is_vtol; /**< True if the system is VTOL capable */
|
||||
|
||||
bool condition_battery_voltage_valid;
|
||||
bool condition_system_in_air_restore; /**< true if we can restore in mid air */
|
||||
|
||||
Reference in New Issue
Block a user