diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-18 14:46:31 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-18 14:46:31 +0100 |
commit | e18065081af0dbbbf50aaba30cc0b14621c7b29b (patch) | |
tree | 1b52d79cdac6f3326dbdd491da94ccd5d5c1289c /src/modules/uORB/topics | |
parent | 6e874bed50d6d8a13a3b7f9b883697cb2718d27b (diff) | |
download | px4-firmware-e18065081af0dbbbf50aaba30cc0b14621c7b29b.tar.gz px4-firmware-e18065081af0dbbbf50aaba30cc0b14621c7b29b.tar.bz2 px4-firmware-e18065081af0dbbbf50aaba30cc0b14621c7b29b.zip |
is_vtol flag in vehicle_status
Getting rid of the autostart based checks if the system is a vtol
Fixes #1503
Diffstat (limited to 'src/modules/uORB/topics')
-rw-r--r-- | src/modules/uORB/topics/vehicle_status.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/vehicle_status.h b/src/modules/uORB/topics/vehicle_status.h index 749d00d75..b4d5c7b88 100644 --- a/src/modules/uORB/topics/vehicle_status.h +++ b/src/modules/uORB/topics/vehicle_status.h @@ -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 */ |