mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 15:18:53 +08:00
flight tasks smoothing: refactor param_find -> Param
Plus some style fixes
This commit is contained in:
@@ -40,8 +40,8 @@
|
||||
using namespace matrix;
|
||||
|
||||
FlightTaskManualPositionSmooth::FlightTaskManualPositionSmooth() :
|
||||
_smoothingXY(matrix::Vector2f(&_velocity(0))),
|
||||
_smoothingZ(_velocity(2), _sticks(2))
|
||||
_smoothingXY(this, matrix::Vector2f(&_velocity(0))),
|
||||
_smoothingZ(this, _velocity(2), _sticks(2))
|
||||
{}
|
||||
|
||||
void FlightTaskManualPositionSmooth::_updateSetpoints()
|
||||
|
||||
Reference in New Issue
Block a user