flight tasks smoothing: refactor param_find -> Param

Plus some style fixes
This commit is contained in:
Beat Küng
2018-04-11 07:47:06 +02:00
parent 398d511fd9
commit 5eb7d8ec5f
7 changed files with 80 additions and 157 deletions
@@ -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()