FlightTaskAuto: move method getVelocityFromAngle to FlightTaskAutoLine

This commit is contained in:
Dennis Mannhart
2018-11-30 09:30:00 -05:00
committed by Daniel Agar
parent 23afb939f0
commit c97b2a3071
5 changed files with 46 additions and 151 deletions
@@ -62,4 +62,8 @@ protected:
void _generateHeadingAlongTrack(); /**< Generates heading along track. */
void _generateAltitudeSetpoints(); /**< Generate velocity and position setpoints for following line along z. */
void _generateXYsetpoints(); /**< Generate velocity and position setpoints for following line along xy. */
private:
void _setSpeedAtTarget(); /**< Sets desiered speed at target */
float _speed_at_target = 0.0f;
};