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
Check roll direction for VTOL #4797
Comments
Will fix this in v1.5 |
How do we transition in a fix like this?https://github.com/PX4/Firmware/blob/master/src/modules/vtol_att_control/standard.cpp#L439 |
I think we have no chance but to bundle this into a major release with big red warnings. |
Following up here on the inversion issue of the roll on vtol's: @dagar commented:
As far as the DeltaQuads go i would actually prefer using only MAIN outputs |
Nevermind, I just realized I don't know what I'm talking about. The current VTOL FW mixers are control group 1. |
@bresch Can you please have a look at this. |
Changing this for the next release as a breaking change - not for this one. |
Needs an API compatibility system that checks versions in params, compares it with the version in code and locks down arming if they mismatch or are smaller. Also should have a proper UI representation that includes instructions and a link to a more in-depth explanation on the user guide. |
Still have to fix that. Maybe with the refactoring of VTOL @RomanBapst |
@RomanBapst we should definitely fix this. |
@bkueng and I have decided to finally tackle this one.
This approach makes sure that no user can fly with a custom mixer without adding the magic line and thereby understanding that he/she requires to update their custom mixer files. Please provide feedback! |
Yes I think treating it like adding simple schema versioning would help us solve this annoyance as well as handle other changes in the future. The other idea I had was to introduce a series of interactive preflight check walkthroughs, but that would need a lot more thought (and effort). On a newly configured airframe or major firmware upgrade we could force the checks to be rerun (unless the user explicitly opted out). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still an issue. It looks like the minus sign has been in the codebase since the beginning of VTOL in 2014 (887ed69#diff-cd9a46a1bbc9010e5e50fd282544a874R405) and has then been copied into standard_vtol, tailsitter and tiltrotor files. I think it is time to let it go. Here is my suggestion:
|
@RomanBapst I've assigned this to you for triage. My preference would be to fix it now before even more people fly VTOL and it will become impossible to change. |
Thanks @LorenzMeier! @RomanBapst I think that adding mixer versioning, as you suggest above, is not semantically correct here. Indeed the mixer format will be unchanged between mixer version V1 and V2. |
@jlecoeur that sounds good if you want to throw that in as a VTOL parameter. The nice part about that solution is we can have it set appropriately for all the builtin airframes + mixers. |
@dagar OK I can give it a go. I just need your help to know where to best implement the arm/preflight check. |
I have the odd symptom that the ailerons signs are inverted for VTOL in SITL.
The text was updated successfully, but these errors were encountered: