Manual Trajectory - Add Z position lock logic and log complete trajectory

This commit is contained in:
bresch
2019-02-13 20:56:57 +01:00
parent 556ac5547b
commit 57eef6b170
2 changed files with 33 additions and 7 deletions
@@ -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 */
};