mpc: fix PositionControl unit test

The unit test assumes the position controller is in "decoupled" mode
This commit is contained in:
bresch 2024-03-20 13:43:47 +01:00 committed by Mathieu Bresciani
parent 638e17d551
commit 62b8db153b
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ private:
float _lim_tilt{}; ///< Maximum tilt from level the output attitude is allowed to have
float _hover_thrust{}; ///< Thrust [HOVER_THRUST_MIN, HOVER_THRUST_MAX] with which the vehicle hovers not accelerating down or up with level orientation
bool _decouple_horizontal_and_vertical_acceleration{false}; ///< Ignore vertical acceleration setpoint to remove its effect on the tilt setpoint
bool _decouple_horizontal_and_vertical_acceleration{true}; ///< Ignore vertical acceleration setpoint to remove its effect on the tilt setpoint
// States
matrix::Vector3f _pos; /**< current position */