mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 22:43:34 +08:00
smooth takeoff - Support smooth takeoff triggered by jerk setpoint
This commit is contained in:
+6
-1
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user