PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.17k stars 13.36k forks source link

[Bug] Beta PX4 1.14 QGC missing switch settings #21927

Closed benjinne closed 1 year ago

benjinne commented 1 year ago

Describe the bug

image Using the RC1 1.14 and the latest stable QGC, the flight modes setup page only offers the mode settings and it appears the other switch settings are missing like arm, kill, etc.

To Reproduce

I'm running QGC on ubuntu 22.04 using the appimage and this error shows up when I select the flight modes tab: qrc:/qml/PX4SimpleFlightModes.qml:36: ReferenceError: _switchFactList is not defined

Flight controller: ARK FMUv6x Airframe: Generic Standard Plane

Expected behavior

Switch settings should be available outside of modifying parameters

Screenshot / Media

No response

Flight Log

N/A

Software Version

nsh: sysinit: fopen failed: No such file or directory

NuttShell (NSH) NuttX-11.0.0 nsh> ver all HW arch: ARK_FMU_V6X HW type: ARKV6X000000 HW version: 0x000 HW revision: 0x000 PX4 git-hash: 5359fe59e507896dace176d7fd8f9b0d00c2e3b6 PX4 version: 1.14.0 c0 (17694912) OS: NuttX OS version: Release 11.0.0 (184549631) OS git-hash: 3f77354c0dc88793a47ff3b57595195ab45f7ba9 Build datetime: Jul 27 2023 18:33:08 Build uri: localhost Build variant: default Toolchain: GNU GCC, 9.3.1 20200408 (release) PX4GUID: 000600000000333039383130511800220032 MCU: STM32H7[4|5]xxx, rev. V nsh>

Flight controller

ARK FMU V6x

Vehicle type

Fixed Wing

How are the different components wired up (including port information)

No response

Additional context

No response

mrpollo commented 1 year ago

What version of QGC are you on? Please make sure it's the latest and report back

benjinne commented 1 year ago

What version of QGC are you on? Please make sure it's the latest and report back

4.2.8

junwoo091400 commented 1 year ago

This matches exactly what I observed (for a while now actually): https://discuss.px4.io/t/some-notes-on-everything-that-was-a-pain-in-using-px4/33573#qgroundcontrol-9

This was happening since 4.2.0 (and possibly older), and the debug output in the issue gives a good clue on the bug.

The commit that broke it seems to be this: https://github.com/mavlink/qgroundcontrol/commit/d5dc4f1af17151d7e7f88372847bc12ac499ccb9, from this PR: https://github.com/mavlink/qgroundcontrol/pull/9747

junwoo091400 commented 1 year ago

@benjinne once the Linux Release of the CI is done in this PR: https://github.com/mavlink/qgroundcontrol/pull/10759, could you test it out to see if it fixed it? image

benjinne commented 1 year ago

@benjinne once the Linux Release of the CI is done in this PR: [mavlink/qgroundcontrol#10759]

I can confirm this fixes my issue

image

benjinne commented 1 year ago

channel monitor shows up once my RC controller is connected image