Set tailsitter flag via vehicle status

Removes the necessity of including vtol_type.h in other modules.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2022-05-18 10:01:04 +02:00
parent 7292ce483c
commit d8444df11c
6 changed files with 9 additions and 37 deletions
@@ -151,8 +151,6 @@ private:
bool _flag_control_attitude_enabled_last{false};
bool _is_tailsitter{false};
float _energy_integration_time{0.0f};
float _control_energy[4] {};
float _control_prev[3] {};