mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 04:00:35 +08:00
flight tasks: refactor BlockParam -> Param and handle param updates
This commit is contained in:
@@ -40,14 +40,6 @@
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
FlightTaskManual::FlightTaskManual(control::SuperBlock *parent, const char *name) :
|
||||
FlightTask(parent, name),
|
||||
_stick_dz(parent, "MPC_HOLD_DZ", false),
|
||||
_xy_vel_man_expo(parent, "MPC_XY_MAN_EXPO", false),
|
||||
_z_vel_man_expo(parent, "MPC_Z_MAN_EXPO", false)
|
||||
{
|
||||
}
|
||||
|
||||
bool FlightTaskManual::initializeSubscriptions(SubscriptionArray &subscription_array)
|
||||
{
|
||||
if (!FlightTask::initializeSubscriptions(subscription_array)) {
|
||||
|
||||
Reference in New Issue
Block a user