Tiltrotor: disable MC yaw fade out during front transition blending #22704
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solved Problem
Vehicle yawing strongly during final phase of front transition.
Solution
MC yaw control is faded out during the blending phase of a VTOL front transition. As there can be a quite high yawing torque acting on the system (eg due to asymmetric motor setup), and the fixed-wing yaw actuator is not fully effective yet (if it is existing at all), the vehicle yaws often to a side.
The effect is specially noticeable on Tiltrotors because there the blending phase doesn't always end with the transition airspeed reached, as also the transition motor tilt has to be reached first. It can thus stay in a prolonged blending phase of multiple seconds.
I propose to remove the MC yaw fade out for Tiltrotor. For standard VTOLs I would keep it for now due to two reasons:
Changelog Entry
For release notes:
Alternatives
We could maybe re-think the whole blending logic - is it even something we need? Eg the pitch is never blended on tiltrotors already.
Test coverage
Tested on a tri-tiltrotor VTOL (see plots below).
Context
Without this change: this vehicle (tri-copter tiltrotor) yaws strongly to the right when it enters the blending phase of a front transition.
With this change: the yaw disturbance is lower because the controller keeps fighting the yaw rate error (see
torque_setpoint_0[2]
).