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

Available Fly Modes #12358

Open
ezzz01 opened this issue Jan 21, 2025 · 3 comments
Open

Available Fly Modes #12358

ezzz01 opened this issue Jan 21, 2025 · 3 comments

Comments

@ezzz01
Copy link

ezzz01 commented Jan 21, 2025

Expected Behavior

All Flight modes should be shown in the dropdown, including "Position", "Stabilized" and others. Possibly, the documentation should be improved to explain why/how the available Flight modes should be changed.

Current Behavior

Only 3 Flight modes are shown in the toolbar dropdown: "Hold", "Mission", "Return".

System Information

  • Operating System: Ubuntu 24.04
  • QGC Version: 4.4.3
  • QGC build: custom build, tried building both locally on Ubuntu and on Github
  • Flight Controller:
  • Autopilot (with version): PX4 1.15.1

Detailed Description

We have a custom build, based on QGC 4.4.3.
When using our drone and sometimes when using the PX4 simulator, Flight modes dropdown doesn't show the full list of modes, but only 3 of them: "Hold", "Mission", "Return". Please see the screenshots below. They were made with exactly the same simulator, but the apk files were produced once on local system running Ubuntu, and another on Github.

I suspect that the difference is somehow impacted by the Build Type, so I've tried switching between Daily and Stable, but can't find any pattern, when the Flight mode list changes. I can't find any logic for it in the Github workflow file. I found one commit that introduced logic related to Flight modes based on the build type: c002ef6

Image
Image

@DonLakeFlyer
Copy link
Contributor

DonLakeFlyer commented Jan 21, 2025

Does this only show up in your custom build? What happens with a daily build pulled from the web site?

@DonLakeFlyer
Copy link
Contributor

I suspect that the difference is somehow impacted by the Build Type, so I've tried switching between Daily and Stable, but can't find any pattern, when the Flight mode list changes.

There is a new WIP mavlink flight modes discovery protocol which is only enabled in debug builds.

@justas-
Copy link

justas- commented Jan 22, 2025

Just to add - it seems this is purely an UI issue. We can still switch to a required mode via the RC channel mapping and it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants