|
|
@ -83,6 +83,13 @@ QString APMParameterMetaData::mavTypeToString(MAV_TYPE vehicleTypeEnum) |
|
|
|
|
|
|
|
|
|
|
|
switch(vehicleTypeEnum) { |
|
|
|
switch(vehicleTypeEnum) { |
|
|
|
case MAV_TYPE_FIXED_WING: |
|
|
|
case MAV_TYPE_FIXED_WING: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_DUOROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_QUADROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_TILTROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED2: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED3: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED4: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED5: |
|
|
|
vehicleName = "ArduPlane"; |
|
|
|
vehicleName = "ArduPlane"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case MAV_TYPE_QUADROTOR: |
|
|
|
case MAV_TYPE_QUADROTOR: |
|
|
@ -111,13 +118,6 @@ QString APMParameterMetaData::mavTypeToString(MAV_TYPE vehicleTypeEnum) |
|
|
|
case MAV_TYPE_FLAPPING_WING: |
|
|
|
case MAV_TYPE_FLAPPING_WING: |
|
|
|
case MAV_TYPE_KITE: |
|
|
|
case MAV_TYPE_KITE: |
|
|
|
case MAV_TYPE_ONBOARD_CONTROLLER: |
|
|
|
case MAV_TYPE_ONBOARD_CONTROLLER: |
|
|
|
case MAV_TYPE_VTOL_DUOROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_QUADROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_TILTROTOR: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED2: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED3: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED4: |
|
|
|
|
|
|
|
case MAV_TYPE_VTOL_RESERVED5: |
|
|
|
|
|
|
|
case MAV_TYPE_GIMBAL: |
|
|
|
case MAV_TYPE_GIMBAL: |
|
|
|
case MAV_TYPE_ENUM_END: |
|
|
|
case MAV_TYPE_ENUM_END: |
|
|
|
default: |
|
|
|
default: |
|
|
|