mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 20:33:34 +08:00
Manual Trajectory - Add Z position lock logic and log complete trajectory
This commit is contained in:
+3
@@ -69,6 +69,9 @@ private:
|
||||
VelocitySmoothing _smoothing[3]; ///< Smoothing in x, y and z directions
|
||||
matrix::Vector3f _vel_sp_smooth;
|
||||
bool _position_lock_xy_active{false};
|
||||
bool _position_lock_z_active{false};
|
||||
matrix::Vector2f _position_setpoint_xy_locked;
|
||||
float _position_setpoint_z_locked;
|
||||
|
||||
uint8_t _reset_counter{0}; /**< counter for estimator resets in xy-direction */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user