Browse Source

PX4: Add missing sensor orientations to PX4 sensor setup UI (#10471)

The enumeration of sensor orientation was not up to date. Reported in:

https://github.com/mavlink/qgroundcontrol/issues/10465

I updated the enum based on the mavlink enum from here:

https://mavlink.io/en/messages/common.html#MAV_SENSOR_ORIENTATION
QGC4.4
Philipp Borgers 2 years ago committed by GitHub
parent
commit
64b215076b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      src/AutoPilotPlugins/PX4/SensorsSetup.qml

17
src/AutoPilotPlugins/PX4/SensorsSetup.qml

@ -83,10 +83,21 @@ Item { @@ -83,10 +83,21 @@ Item {
"ROTATION_ROLL_270_YAW_135",
"ROTATION_PITCH_90",
"ROTATION_PITCH_270",
"ROTATION_ROLL_270_YAW_270",
"ROTATION_PITCH_180_YAW_90",
"ROTATION_PITCH_180_YAW_270",
"ROTATION_ROLL_90_PITCH_90",
"ROTATION_ROLL_180_PITCH_90",
"ROTATION_ROLL_270_PITCH_90",
"ROTATION_ROLL_90_PITCH_180",
"ROTATION_ROLL_270_PITCH_180",
"ROTATION_ROLL_90_PITCH_270",
"ROTATION_ROLL_180_PITCH_270",
"ROTATION_PITCH_90_YAW_180",
"ROTATION_ROLL_90_PITCH_90"
"ROTATION_ROLL_270_PITCH_270",
"ROTATION_ROLL_90_PITCH_180_YAW_90",
"ROTATION_ROLL_90_YAW_270",
"ROTATION_ROLL_90_PITCH_68_YAW_293",
"ROTATION_PITCH_315",
"ROTATION_ROLL_90_PITCH_315"
]
property Fact cal_mag0_id: controller.getParameterFact(-1, "CAL_MAG0_ID")

Loading…
Cancel
Save