mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 22:03:35 +08:00
FlightTask: fail activation if required states are not available
This commit is contained in:
committed by
Lorenz Meier
parent
e6f6e2085c
commit
afd02aca92
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user