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:
bresch
2019-07-11 17:46:44 +02:00
committed by Mathieu Bresciani
parent 2ed00c9cb6
commit 15ec73629b
6 changed files with 74 additions and 45 deletions
@@ -66,4 +66,5 @@ protected:
private:
void _setSpeedAtTarget(); /**< Sets desiered speed at target */
float _speed_at_target = 0.0f;
bool _position_locked{false};
};