Skip to content
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

commander: add check for VTOL airfame on fmu-v2 #14633

Merged
merged 2 commits into from
Apr 15, 2020

Conversation

julianoes
Copy link
Contributor

This adds a preflight check when a VTOL airframe is configured on a fmu-v2 where VTOL is no longer included.

Resolves #14381.

@julianoes julianoes requested review from dagar and MaEtUgR April 9, 2020 12:58
@julianoes
Copy link
Contributor Author

Alternatively we could have it as just a message which is sent every few seconds but I thought preventing a user from arming is safer.

Copy link
Member

@LorenzMeier LorenzMeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the string will get truncated here.

Copy link
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's just for safety right? The user sees an error before that like airframe load error?
I'm assuming he's not setting up the whole vehicle with a standard VTOL and then realizes that he can't arm.

@julianoes julianoes dismissed LorenzMeier’s stale review April 13, 2020 06:13

The string does not get truncated. I tested it with the latest QGC release.

@julianoes
Copy link
Contributor Author

@dagar feel free to merge if you think this is good enough.

This adds a preflight check when a VTOL airframe is configured
on a fmu-v2 where VTOL is no longer included.
@julianoes julianoes force-pushed the pr-fmu-v2-vtol-warning branch from ee2b397 to 28b5527 Compare April 15, 2020 15:06
@julianoes
Copy link
Contributor Author

Rebased and fixed conflicts, ready to be merged.

@julianoes
Copy link
Contributor Author

julianoes commented Apr 15, 2020

@dagar:

Selection_028

Selection_029

@julianoes julianoes merged commit d67ecc9 into master Apr 15, 2020
@julianoes julianoes deleted the pr-fmu-v2-vtol-warning branch April 15, 2020 19:20
@dagar
Copy link
Member

dagar commented Apr 15, 2020

Not to be too negative, but are we sure it's worth even having the URL like this? The # is missing between bootloader and the way it's split onto the 2nd line (Critical: /mater/en/config/firmware.htmlbootloader) is super confusing.

@julianoes
Copy link
Contributor Author

julianoes commented Apr 16, 2020

We should create a PR or issue to QGC to fix the #.

@julianoes
Copy link
Contributor Author

bkueng pushed a commit that referenced this pull request May 19, 2020
* commander: add check for VTOL airfame on fmu-v2

This adds a preflight check when a VTOL airframe is configured
on a fmu-v2 where VTOL is no longer included.

* commander: address code review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

px4_fmu-v2_default VTOL upgrade handling
4 participants