mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.07k stars 3.44k forks source link

False "missing parameter" errors for gimbal mount #9919

Open durka opened 2 years ago

durka commented 2 years ago

Expected Behavior

I am calibrating a CubeBlack with ArduPilot 4.1 installed. MNTTYPE is set to zero, which causes all the other MNT* parameters to be hidden. I expect QGC to deal with this without throwing a fit. A warning would be acceptable, although still unwarranted, but a modal dialog is disruptive.

Current Behavior

A modal popup appears complaining about a number of missing MNT_* parameters, alarming users when in fact nothing is wrong. The full list is shown in the terminal:

FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_ROLL"
FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_PAN"
FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_TILT"
qrc:/qml/APMCameraComponentSummary.qml:33: TypeError: Cannot read property 'enumStringValue' of null
qrc:/qml/APMCameraComponentSummary.qml:38: TypeError: Cannot read property 'enumStringValue' of null
qrc:/qml/APMCameraComponentSummary.qml:43: TypeError: Cannot read property 'enumStringValue' of null
FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_PAN"
FactPanelControllerLog: Missing parameter: "1:MNT_STAB_PAN"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMIN_PAN"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMAX_PAN"
FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_ROLL"
FactPanelControllerLog: Missing parameter: "1:MNT_STAB_ROLL"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMIN_ROL"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMAX_ROL"
FactPanelControllerLog: Missing parameter: "1:MNT_RC_IN_TILT"
FactPanelControllerLog: Missing parameter: "1:MNT_STAB_TILT"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMIN_TIL"
FactPanelControllerLog: Missing parameter: "1:MNT_ANGMAX_TIL"
FactPanelControllerLog: Missing parameter: "1:MNT_RETRACT_X"
FactPanelControllerLog: Missing parameter: "1:MNT_RETRACT_Y"
FactPanelControllerLog: Missing parameter: "1:MNT_RETRACT_Z"
FactPanelControllerLog: Missing parameter: "1:MNT_NEUTRAL_X"
FactPanelControllerLog: Missing parameter: "1:MNT_NEUTRAL_Y"
FactPanelControllerLog: Missing parameter: "1:MNT_NEUTRAL_Z"

Steps to Reproduce:

Please provide an unambiguous set of steps to reproduce the current behavior

  1. Flash ArduCopter 4.1.0
  2. Set MNT_TYPE to zero
  3. Reboot Pixhawk
  4. Open QGroundControl
  5. Navigate to Vehicle Setup

System Information

When posting bug reports, include the following information

Log Files and Screenshots

The popup only shows some of the "missing" parameters. image

htperry commented 1 year ago

I guess, still no word on this problem?

Still occurs with latest Android QGC and ArduPlane on Cube Black.