forked from Archive/PX4-Autopilot
mpc: fix PositionControl unit test
The unit test assumes the position controller is in "decoupled" mode
This commit is contained in:
parent
638e17d551
commit
62b8db153b
|
@ -216,7 +216,7 @@ private:
|
||||||
float _lim_tilt{}; ///< Maximum tilt from level the output attitude is allowed to have
|
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
|
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
|
// States
|
||||||
matrix::Vector3f _pos; /**< current position */
|
matrix::Vector3f _pos; /**< current position */
|
||||||
|
|
Loading…
Reference in New Issue