FlightTaskAuto: pure virtual reset method

This commit is contained in:
Dennis Mannhart
2018-02-13 13:47:11 +01:00
committed by Lorenz Meier
parent 2c385e6967
commit 69ea4df45c
4 changed files with 27 additions and 9 deletions
@@ -80,6 +80,8 @@ protected:
0.0f; /**< Cruise speed with which multicopter flies and gets set by triplet. If no valid, default cruise speed is used. */
WaypointType _type{WaypointType::idle}; /**< Type of current target triplet. */
virtual void _reset() = 0; /**< Method called one type has changed. */
private:
control::BlockParamFloat _mc_cruise_default; /**< Default mc cruise speed*/