-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VTOL: fix roll inversion #11382
VTOL: fix roll inversion #11382
Conversation
I see spurious jenkins errors like
|
Should be fixed in master, try rebasing. It was a race condition with the submodules. |
cf7289a
to
9e36b57
Compare
I rebased and CI now passes, thanks @dagar |
33ddc8b
to
c2929d1
Compare
So far looks good. Let's get organized to test everything exhaustively. |
@TestFlight this PR only affects VTOLs in fixed wing mode. Please test on all the VTOL platforms you have, see the test cards in my message above. Watch out before Take-Off, look out for a potential roll inversion when in fixed wing mode. There should be no difference with master. |
c2929d1
to
c324754
Compare
@Tony3dr any update on the flight tests? |
Sorry for the delay, we are expecting replacement frames for the VTOL we have. We should get the replacements this week. |
Great! |
@jlecoeur we were unable to download the firmware from Jenkins. |
This inversion matches the fixed sign in the commands generated by the VTOL attitude controller. This commit, combined with the previous commit, should have no effect. For safety, it is recommended to check the direction of roll control surfaces before flight.
Mark V19_VT_ROLLDIR @category system Throttle down mavlink critical msg Send 0 actuator_output for safety VTOL: unset v1.9 roll direction safety check param for builtin airframes
c324754
to
b7d0b45
Compare
@Junkim3DR it should be good now |
Tested on pixhawk4 mini v5 Convergence frame |
Thank you for finally addressing this @jlecoeur |
Follow up issue #11650. |
fixes #4797
Describe problem solved by the proposed pull request
The VTOL attitude controller generates reversed fixed-wing roll commands. As a consequence, all VTOL mixers currently have a minus sign on roll actuators to compensate.
Describe your preferred solution
Flight testing
This requires extensive flight testing on all possible VTOL platforms.
Test card 1:
Test card 2: