mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 15:59:06 +08:00
FlightTaskAutoLine: introduce previous type which used to reset setpoints
This commit is contained in:
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. */
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user