Enables 20Hz backup scheduling for ControlAllocator

This commit is contained in:
Charles Cross
2022-02-22 12:52:17 -08:00
committed by Beat Küng
parent b0352135bb
commit aecfbef128
2 changed files with 5 additions and 2 deletions
@@ -74,7 +74,7 @@
#include <uORB/topics/vehicle_thrust_setpoint.h>
#include <uORB/topics/vehicle_status.h>
class ControlAllocator : public ModuleBase<ControlAllocator>, public ModuleParams, public px4::WorkItem
class ControlAllocator : public ModuleBase<ControlAllocator>, public ModuleParams, public px4::ScheduledWorkItem
{
public:
static constexpr int NUM_ACTUATORS = ControlAllocation::NUM_ACTUATORS;