mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 15:13:33 +08:00
flight tasks: refactor BlockParam -> Param and handle param updates
This commit is contained in:
@@ -562,6 +562,8 @@ MulticopterPositionControl::parameters_update(bool force)
|
||||
ModuleParams::updateParams();
|
||||
SuperBlock::updateParams();
|
||||
|
||||
_flight_tasks.handleParameterUpdate();
|
||||
|
||||
/* initialize vectors from params and enforce constraints */
|
||||
|
||||
_pos_p(0) = _xy_p.get();
|
||||
|
||||
Reference in New Issue
Block a user