mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 16:51:37 +08:00
flight tasks: refactor BlockParam -> Param and handle param updates
This commit is contained in:
@@ -40,14 +40,6 @@
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
FlightTaskManualAltitude::FlightTaskManualAltitude(control::SuperBlock *parent, const char *name) :
|
||||
FlightTaskManualStabilized(parent, name),
|
||||
_vel_max_down(parent, "MPC_Z_VEL_MAX_DN", false),
|
||||
_vel_max_up(parent, "MPC_Z_VEL_MAX_UP", false),
|
||||
_vel_hold_thr_z(parent, "MPC_HOLD_MAX_Z", false)
|
||||
|
||||
{}
|
||||
|
||||
void FlightTaskManualAltitude::_scaleSticks()
|
||||
{
|
||||
/* Reuse same scaling as for stabilized */
|
||||
|
||||
Reference in New Issue
Block a user