mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 09:23:35 +08:00
MPC auto - Add MPC_YAW_MODE: towards waypoint (yaw first) mode. This mode ensures that
the vehicle yaws towards the next waypoint before accelerating. This is required for drones with front vision and aerodynamic multicopters such as standard vtol planes or highspeed multirotors.
This commit is contained in:
committed by
Mathieu Bresciani
parent
2ed00c9cb6
commit
15ec73629b
@@ -66,4 +66,5 @@ protected:
|
||||
private:
|
||||
void _setSpeedAtTarget(); /**< Sets desiered speed at target */
|
||||
float _speed_at_target = 0.0f;
|
||||
bool _position_locked{false};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user