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:
Thomas Gubler
2014-12-18 14:46:31 +01:00
parent 6e874bed50
commit e18065081a
4 changed files with 40 additions and 33 deletions
+3 -1
View File
@@ -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 */