FlightTaskOrbit: switch to FlightTaskAltitudeSmooth

Nice smooth altitude control is already provided by the existing
flight task for altitude mode. We inherit from it to resuse the
functionality and just all its update first not altering the setpoints
for the z-axis it produced.
This commit is contained in:
Matthias Grob
2018-07-24 15:03:53 +02:00
committed by ChristophTobler
parent ce49ac0259
commit 93bab20510
2 changed files with 9 additions and 9 deletions
@@ -41,9 +41,9 @@
#pragma once
#include "FlightTaskManual.hpp"
#include "FlightTaskManualAltitudeSmooth.hpp"
class FlightTaskOrbit : public FlightTaskManual
class FlightTaskOrbit : public FlightTaskManualAltitudeSmooth
{
public:
FlightTaskOrbit();