mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 07:30:35 +08:00
FlightTaskAutoLine: introduce previous type which used to reset setpoints
This commit is contained in:
committed by
Lorenz Meier
parent
a401778038
commit
3d034823b0
@@ -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. */
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user