FlightTask: fail activation if required states are not available

This commit is contained in:
Dennis Mannhart
2018-07-20 09:26:18 +02:00
committed by Lorenz Meier
parent e6f6e2085c
commit afd02aca92
8 changed files with 58 additions and 2 deletions
@@ -51,10 +51,10 @@ public:
virtual ~FlightTaskManual() = default;
bool initializeSubscriptions(SubscriptionArray &subscription_array) override;
bool applyCommandParameters(const vehicle_command_s &command) override { return FlightTask::applyCommandParameters(command); };
bool updateInitialize() override;
bool activate() override;
protected: