FlightTaskAutoLine: introduce previous type which used to reset setpoints

This commit is contained in:
Dennis Mannhart 2018-03-01 14:38:59 +01:00 committed by Lorenz Meier
parent a401778038
commit 3d034823b0

View File

@ -92,4 +92,6 @@ protected:
private:
float _getVelocityFromAngle(const float angle); /** Computes the speed at target depending on angle. */
void _reset(); /** Resets member variables to current vehicle state */
WaypointType _type_previous{WaypointType::idle}; /**< Previous type of current target triplet. */
};