flight tasks: refactor BlockParam -> Param and handle param updates

This commit is contained in:
Beat Küng
2018-04-11 07:47:06 +02:00
parent 2e620cf1d4
commit 0eaa6222a2
19 changed files with 89 additions and 86 deletions
@@ -45,13 +45,15 @@
class FlightTaskManualPositionSmooth : public FlightTaskManualPosition
{
public:
FlightTaskManualPositionSmooth(control::SuperBlock *parent, const char *name);
FlightTaskManualPositionSmooth();
virtual ~FlightTaskManualPositionSmooth() = default;
protected:
virtual void _updateSetpoints() override;
private:
ManualSmoothingXY _smoothingXY; /**< smoothing for velocity setpoints in xy */
ManualSmoothingZ _smoothingZ; /**< smoothing for velocity in z */
};