smooth takeoff - Support smooth takeoff triggered by jerk setpoint

This commit is contained in:
bresch
2019-02-25 08:07:33 +01:00
committed by Beat Küng
parent 0d170a0eaf
commit 8f584a1496
3 changed files with 20 additions and 7 deletions
@@ -65,7 +65,12 @@ protected:
private:
enum class Axes {XY, XYZ};
void reset(Axes axes);
/**
* Reset the required axes. when force_z_zero is set to true, the z derivatives are set to sero and not to the estimated states
*/
void reset(Axes axes, bool force_z_zero = false);
VelocitySmoothing _smoothing[3]; ///< Smoothing in x, y and z directions
matrix::Vector3f _vel_sp_smooth;
bool _position_lock_xy_active{false};