Commit 0303f53a authored by Don Gagne's avatar Don Gagne

Support correct parameter set for APM

parent d44fcde4
<RCC>
<qresource prefix="/unittest">
<file alias="MockLink.params">src/comm/MockLink.params</file>
<file alias="PX4MockLink.params">src/comm/PX4MockLink.params</file>
<file alias="APMArduCopterMockLink.params">src/comm/APMArduCopterMockLink.params</file>
<file alias="APMArduPlaneMockLink.params">src/comm/APMArduPlaneMockLink.params</file>
<file alias="FactSystemTest.qml">src/FactSystem/FactSystemTest.qml</file>
</qresource>
<qresource prefix="/qml">
......
# Onboard parameters for system MAV 001
#
# MAV ID COMPONENT ID PARAM NAME VALUE (FLOAT)
1 1 ACCEL_Z_D 0 9
1 1 ACCEL_Z_FILT_HZ 20 9
1 1 ACCEL_Z_I 1 9
1 1 ACCEL_Z_IMAX 800 9
1 1 ACCEL_Z_P 0.5 9
1 1 ACRO_BAL_PITCH 1 9
1 1 ACRO_BAL_ROLL 1 9
1 1 ACRO_EXPO 0.3 9
1 1 ACRO_RP_P 4.5 9
1 1 ACRO_TRAINER 2 2
1 1 ACRO_YAW_P 4.5 9
1 1 AHRS_COMP_BETA 0.1 9
1 1 AHRS_GPS_GAIN 1 9
1 1 AHRS_GPS_MINSATS 6 2
1 1 AHRS_GPS_USE 1 2
1 1 AHRS_ORIENTATION 0 2
1 1 AHRS_RP_P 0.2 9
1 1 AHRS_TRIM_X 0 9
1 1 AHRS_TRIM_Y 0 9
1 1 AHRS_TRIM_Z 0 9
1 1 AHRS_WIND_MAX 0 2
1 1 AHRS_YAW_P 0.2 9
1 1 ANGLE_MAX 4500 4
1 1 ARMING_CHECK 1 2
1 1 ATC_ACCEL_P_MAX 1.1e+05 9
1 1 ATC_ACCEL_R_MAX 1.1e+05 9
1 1 ATC_ACCEL_Y_MAX 2.7e+04 9
1 1 ATC_RATE_FF_ENAB 1 2
1 1 ATC_SLEW_YAW 1e+03 9
1 1 AUTOTUNE_AGGR 0.1 9
1 1 AUTOTUNE_AXES 7 2
1 1 AUTOTUNE_MIN_D 0.004 9
1 1 BATT2_AMP_OFFSET 0 9
1 1 BATT2_AMP_PERVOL 17 9
1 1 BATT2_CAPACITY 3300 6
1 1 BATT2_CURR_PIN 3 2
1 1 BATT2_MONITOR 0 2
1 1 BATT2_VOLT_MULT 10.1 9
1 1 BATT2_VOLT_PIN 2 2
1 1 BATT_AMP_OFFSET 0 9
1 1 BATT_AMP_PERVOLT 17 9
1 1 BATT_CAPACITY 3300 6
1 1 BATT_CURR_PIN 3 2
1 1 BATT_MONITOR 0 2
1 1 BATT_VOLT_MULT 10.1 9
1 1 BATT_VOLT_PIN 2 2
1 1 BRD_PWM_COUNT 4 2
1 1 BRD_SAFETYENABLE 1 2
1 1 BRD_SBUS_OUT 0 2
1 1 BRD_SER1_RTSCTS 2 2
1 1 BRD_SER2_RTSCTS 2 2
1 1 BRD_SERIAL_NUM 0 4
1 1 CAM_DURATION 10 2
1 1 CAM_SERVO_OFF 1100 4
1 1 CAM_SERVO_ON 1300 4
1 1 CAM_TRIGG_DIST 0 9
1 1 CAM_TRIGG_TYPE 0 2
1 1 CH10_OPT 0 2
1 1 CH11_OPT 0 2
1 1 CH12_OPT 0 2
1 1 CH7_OPT 0 2
1 1 CH8_OPT 0 2
1 1 CH9_OPT 0 2
1 1 CHUTE_ALT_MIN 10 4
1 1 CHUTE_ENABLED 0 2
1 1 CHUTE_SERVO_OFF 1100 4
1 1 CHUTE_SERVO_ON 1300 4
1 1 CHUTE_TYPE 0 2
1 1 CIRCLE_RADIUS 1e+03 9
1 1 CIRCLE_RATE 20 9
1 1 CLI_ENABLED 0 2
1 1 COMPASS_AUTODEC 1 2
1 1 COMPASS_DEC 0 9
1 1 COMPASS_DEV_ID 131594 6
1 1 COMPASS_DEV_ID2 0 6
1 1 COMPASS_DEV_ID3 0 6
1 1 COMPASS_EXTERN2 0 2
1 1 COMPASS_EXTERN3 0 2
1 1 COMPASS_EXTERNAL 0 2
1 1 COMPASS_LEARN 0 2
1 1 COMPASS_MOT2_X 0 9
1 1 COMP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LOW 2.5 9
1 1 EKF_POSNE_NOISE 0.5 9
1 1 EKF_POS_DELAY 220 4
1 1 EKF_POS_GATE 10 2
1 1 EKF_RNG_GATE 5 2
1 1 EKF_VELD_NOISE 0.7 9
1 1 EKF_VELNE_NOISE 0.5 9
1 1 EKF_VEL_DELAY 220 4
1 1 EKF_VEL_GATE 5 2
1 1 EKF_WIND_PNOISE 0.1 9
1 1 EKF_WIND_PSCALE 0.5 9
1 1 EPM_ENABLE 0 2
1 1 EPM_GRAB 1900 4
1 1 EPM_NEUTRAL 1500 4
1 1 EPM_REGRAB 0 2
1 1 EPM_RELEASE 1100 4
1 1 ESC_CALIBRATION 0 2
1 1 FENCE_ACTION 1 2
1 1 FENCE_ALT_MAX 100 9
1 1 FENCE_ENABLE 0 2
1 1 FENCE_MARGIN 2 9
1 1 FENCE_RADIUS 300 9
1 1 FENCE_TYPE 3 2
1 1 FLOW_ENABLE 0 2
1 1 FLOW_FXSCALER 0 4
1 1 FLOW_FYSCALER 0 4
1 1 FLOW_ORIENT_YAW 0 4
1 1 FLTMODE1 0 2
1 1 FLTMODE2 0 2
1 1 FLTMODE3 0 2
1 1 FLTMODE4 0 2
1 1 FLTMODE5 0 2
1 1 FLTMODE6 0 2
1 1 FRAME 1 2
1 1 FS_BATT_ENABLE 0 2
1 1 FS_BATT_MAH 0 9
1 1 FS_BATT_VOLTAGE 10.5 9
1 1 FS_EKF_ACTION 1 2
1 1 FS_EKF_THRESH 0.8 9
1 1 FS_GCS_ENABLE 1 2
1 1 FS_THR_ENABLE 0 2
1 1 FS_THR_VALUE 975 4
1 1 GCS_PID_MASK 0 4
1 1 GND_ABS_PRESS 1.01e+05 9
1 1 GND_ALT_OFFSET 0 2
1 1 GND_TEMP 29.5 9
1 1 GPS_AUTO_SWITCH 1 2
1 1 GPS_GNSS_MODE 0 2
1 1 GPS_HDOP_GOOD 140 4
1 1 GPS_INJECT_TO 127 2
1 1 GPS_MIN_DGPS 100 2
1 1 GPS_MIN_ELEV -100 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9
1 1 PILOT_TKOFF_ALT 0 9
1 1 PILOT_TKOFF_DZ 100 4
1 1 PILOT_VELZ_MAX 250 4
1 1 POS_XY_P 1 9
1 1 POS_Z_P 1 9
1 1 PSC_ACC_XY_FILT 2 9
1 1 RALLY_INCL_HOME 1 2
1 1 RALLY_LIMIT_KM 0.3 9
1 1 RALLY_TOTAL 0 2
1 1 RATE_PIT_D 0.004 9
1 1 RATE_PIT_FILT_HZ 20 9
1 1 RATE_PIT_I 0.1 9
1 1 RATE_PIT_IMAX 2e+03 9
1 1 RATE_PIT_P 0.15 9
1 1 RATE_RLL_D 0.004 9
1 1 RATE_RLL_FILT_HZ 20 9
1 1 RATE_RLL_I 0.1 9
1 1 RATE_RLL_IMAX 2e+03 9
1 1 RATE_RLL_P 0.15 9
1 1 RATE_YAW_D 0 9
1 1 RATE_YAW_FILT_HZ 5 9
1 1 RATE_YAW_I 0.02 9
1 1 RATE_YAW_IMAX 1e+03 9
1 1 RATE_YAW_P 0.2 9
1 1 RC10_DZ 0 4
1 1 RC10_FUNCTION 0 2
1 1 RC10_MAX 1900 4
1 1 RC10_MIN 1100 4
1 1 RC10_REV 1 2
1 1 RC10_TRIM 1500 4
1 1 RC11_DZ 0 4
1 1 RC11_FUNCTION 0 2
1 1 RC11_MAX 1900 4
1 1 RC11_MIN 1100 4
1 1 RC11_REV 1 2
1 1 RC11_TRIM 1500 4
1 1 RC12_DZ 0 4
1 1 RC12_FUNCTION 0 2
1 1 RC12_MAX 1900 4
1 1 RC12_MIN 1100 4
1 1 RC12_REV 1 2
1 1 RC12_TRIM 1500 4
1 1 RC13_DZ 0 4
1 1 RC13_FUNCTION 0 2
1 1 RC13_MAX 1900 4
1 1 RC13_MIN 1100 4
1 1 RC13_REV 1 2
1 1 RC13_TRIM 1500 4
1 1 RC14_DZ 0 4
1 1 RC14_FUNCTION 0 2
1 1 RC14_MAX 1900 4
1 1 RC14_MIN 1100 4
1 1 RC14_REV 1 2
1 1 RC14_TRIM 1500 4
1 1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EL 100 9
1 1 WPNAV_ACCEL_Z 100 9
1 1 WPNAV_LOIT_JERK 1e+03 9
1 1 WPNAV_LOIT_MAXA 250 9
1 1 WPNAV_LOIT_MINA 25 9
1 1 WPNAV_LOIT_SPEED 500 9
1 1 WPNAV_RADIUS 200 9
1 1 WPNAV_SPEED 500 9
1 1 WPNAV_SPEED_DN 150 9
1 1 WPNAV_SPEED_UP 250 9
1 1 WP_YAW_BEHAVIOR 2 2
# Onboard parameters for system MAV 001
#
# MAV ID COMPONENT ID PARAM NAME VALUE (FLOAT)
1 1 ACRO_LOCKING 0 2
1 1 ACRO_PITCH_RATE 180 4
1 1 ACRO_ROLL_RATE 180 4
1 1 AFS_AMSL_ERR_GPS -1 6
1 1 AFS_AMSL_LIMIT 0 6
1 1 AFS_ENABLE 0 2
1 1 AFS_HB_PIN -1 2
1 1 AFS_MAN_PIN -1 2
1 1 AFS_MAX_COM_LOSS 0 2
1 1 AFS_MAX_GPS_LOSS 0 2
1 1 AFS_QNH_PRESSURE 0 9
1 1 AFS_RC_FAIL_MS 0 4
1 1 AFS_TERMINATE 0 2
1 1 AFS_TERM_ACTION 0 2
1 1 AFS_TERM_PIN -1 2
1 1 AFS_WP_COMMS 0 2
1 1 AFS_WP_GPS_LOSS 0 2
1 1 AHRS_COMP_BETA 0.1 9
1 1 AHRS_EKF_USE 1 2
1 1 AHRS_GPS_GAIN 1 9
1 1 AHRS_GPS_MINSATS 6 2
1 1 AHRS_GPS_USE 1 2
1 1 AHRS_ORIENTATION 0 2
1 1 AHRS_RP_P 0.2 9
1 1 AHRS_TRIM_X 0 9
1 1 AHRS_TRIM_Y 0 9
1 1 AHRS_TRIM_Z 0 9
1 1 AHRS_WIND_MAX 0 2
1 1 AHRS_YAW_P 0.2 9
1 1 ALT_CTRL_ALG 0 2
1 1 ALT_HOLD_FBWCM 0 4
1 1 ALT_HOLD_RTL 10000 6
1 1 ALT_MIX 1 9
1 1 ALT_OFFSET 0 4
1 1 ARMING_CHECK 1 4
1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 4
1 1 PTCH2SRV_P 0.4 9
1 1 PTCH2SRV_RLL 1 9
1 1 PTCH2SRV_RMAX_DN 0 4
1 1 PTCH2SRV_RMAX_UP 0 4
1 1 PTCH2SRV_TCONST 0.5 9
1 1 RALLY_INCL_HOME 0 2
1 1 RALLY_LIMIT_KM 5 9
1 1 RALLY_TOTAL 0 2
1 1 RC10_DZ 0 4
1 1 RC10_FUNCTION 0 2
1 1 RC10_MAX 1900 4
1 1 RC10_MIN 1100 4
1 1 RC10_REV 1 2
1 1 RC10_TRIM 1500 4
1 1 RC11_DZ 0 4
1 1 RC11_FUNCTION 0 2
1 1 RC11_MAX 1900 4
1 1 RC11_MIN 1100 4
1 1 RC11_REV 1 2
1 1 RC11_TRIM 1500 4
1 1 RC12_DZ 0 4
1 1 RC12_FUNCTION 0 2
1 1 RC12_MAX 1900 4
1 1 RC12_MIN 1100 4
1 1 RC12_REV 1 2
1 1 RC12_TRIM 1500 4
1 1 RC13_DZ 0 4
1 1 RC13_FUNCTION 0 2
1 1 RC13_MAX 1900 4
1 1 RC13_MIN 1100 4
1 1 RC13_REV 1 2
1 1 RC13_TRIM 1500 4
1 1 RC14_DZ 0 4
1 1 RC14_FUNCTION 0 2
1 1 RC14_MAX 1900 4
1 1 RC14_MIN 1100 4
1 1 RC14_REV 1 2
1 1 RC14_TRIM 1500 4
1 1 RC1_DZ 30 4
1 1 RC1_MAX 1900 4
1 1 RC1_MIN 1100 4
1 1 RC1_REV 1 2
1 1 RC1_TRIM 1500 4
1 1 RC2_DZ 30 4
1 1 RC2_MAX 1900 4
1 1 RC2_MIN 1100 4
1 1 RC2_REV 1 2
1 1 RC2_TRIM 1500 4
1 1 RC3_DZ 30 4
1 1 RC3_MAX 1900 4
1 1 RC3_MIN 1100 4
1 1 RC3_REV 1 2
1 1 RC3_TRIM 1100 4
1 1 RC4_DZ 30 4
1 1 RC4_MAX 1900 4
1 1 RC4_MIN 1100 4
1 1 RC4_REV 1 2
1 1 RC4_TRIM 1500 4
1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P 0 9
1 1 TECS_RLL2THR 10 9
1 1 TECS_SINK_MAX 5 9
1 1 TECS_SINK_MIN 2 9
1 1 TECS_SPDWEIGHT 1 9
1 1 TECS_SPD_OMEGA 2 9
1 1 TECS_THR_DAMP 0.5 9
1 1 TECS_TIME_CONST 5 9
1 1 TECS_VERT_ACC 7 9
1 1 TELEM_DELAY 0 2
1 1 TERRAIN_ENABLE 1 2
1 1 TERRAIN_FOLLOW 0 2
1 1 TERRAIN_LOOKAHD 2000 4
1 1 TERRAIN_SPACING 100 4
1 1 THROTTLE_NUDGE 1 2
1 1 THR_FAILSAFE 1 2
1 1 THR_FS_VALUE 950 4
1 1 THR_MAX 75 2
1 1 THR_MIN 0 2
1 1 THR_PASS_STAB 0 2
1 1 THR_SLEWRATE 100 2
1 1 THR_SUPP_MAN 0 2
1 1 TKOFF_FLAP_PCNT 0 2
1 1 TKOFF_ROTATE_SPD 0 9
1 1 TKOFF_TDRAG_ELEV 0 2
1 1 TKOFF_TDRAG_SPD1 0 9
1 1 TKOFF_THR_DELAY 2 2
1 1 TKOFF_THR_MAX 0 2
1 1 TKOFF_THR_MINACC 0 9
1 1 TKOFF_THR_MINSPD 0 9
1 1 TKOFF_THR_SLEW 0 2
1 1 TRIM_ARSPD_CM 1200 6
1 1 TRIM_AUTO 0 2
1 1 TRIM_PITCH_CD 0 4
1 1 TRIM_RC_AT_START 0 2
1 1 TRIM_THROTTLE 45 2
1 1 VTAIL_OUTPUT 0 2
1 1 WP_LOITER_RAD 60 4
1 1 WP_MAX_RADIUS 0 4
1 1 WP_RADIUS 90 4
1 1 YAW2SRV_DAMP 0 9
1 1 YAW2SRV_IMAX 1500 4
1 1 YAW2SRV_INT 0 9
1 1 YAW2SRV_RLL 1 9
1 1 YAW2SRV_SLIP 0 9
......@@ -72,6 +72,7 @@ float MockLink::_vehicleLongitude = -122.08794f;
float MockLink::_vehicleAltitude = 2.5f;
const char* MockConfiguration::_firmwareTypeKey = "FirmwareType";
const char* MockConfiguration::_vehicleTypeKey = "VehicleType";
const char* MockConfiguration::_sendStatusTextKey = "SendStatusText";
MockLink::MockLink(MockConfiguration* config)
......@@ -85,6 +86,7 @@ MockLink::MockLink(MockConfiguration* config)
, _mavBaseMode(MAV_MODE_FLAG_MANUAL_INPUT_ENABLED | MAV_MODE_FLAG_CUSTOM_MODE_ENABLED)
, _mavState(MAV_STATE_STANDBY)
, _firmwareType(MAV_AUTOPILOT_PX4)
, _vehicleType(MAV_TYPE_QUADROTOR)
, _fileServer(NULL)
, _sendStatusText(false)
, _apmSendHomePositionOnEmptyList(false)
......@@ -93,6 +95,7 @@ MockLink::MockLink(MockConfiguration* config)
_config = config;
if (_config) {
_firmwareType = config->firmwareType();
_vehicleType = config->vehicleType();
_sendStatusText = config->sendStatusText();
}
......@@ -113,7 +116,6 @@ MockLink::MockLink(MockConfiguration* config)
MockLink::~MockLink(void)
{
qDebug() << "MockLink destructor";
_disconnect();
}
......@@ -200,7 +202,18 @@ void MockLink::_run50HzTasks(void)
void MockLink::_loadParams(void)
{
QFile paramFile(":/unittest/MockLink.params");
QFile paramFile;
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
if (_vehicleType == MAV_TYPE_FIXED_WING) {
paramFile.setFileName(":/unittest/APMArduPlaneMockLink.params");
} else {
paramFile.setFileName(":/unittest/APMArduCopterMockLink.params");
}
} else {
paramFile.setFileName(":/unittest/PX4MockLink.params");
}
bool success = paramFile.open(QFile::ReadOnly);
Q_UNUSED(success);
......@@ -234,11 +247,21 @@ void MockLink::_loadParams(void)
case MAV_PARAM_TYPE_INT32:
paramValue = QVariant(valStr.toInt());
break;
case MAV_PARAM_TYPE_UINT16:
paramValue = QVariant((quint16)valStr.toUInt());
break;
case MAV_PARAM_TYPE_INT16:
paramValue = QVariant((qint16)valStr.toInt());
break;
case MAV_PARAM_TYPE_UINT8:
paramValue = QVariant((quint8)valStr.toUInt());
break;
case MAV_PARAM_TYPE_INT8:
paramValue = QVariant((unsigned char)valStr.toUInt());
paramValue = QVariant((qint8)valStr.toUInt());
break;
default:
Q_ASSERT(false);
qCritical() << "Unknown type" << paramType;
paramValue = QVariant(valStr.toInt());
break;
}
......@@ -405,24 +428,38 @@ void MockLink::_setParamFloatUnionIntoMap(int componentId, const QString& paramN
QVariant paramVariant;
switch (paramType) {
case MAV_PARAM_TYPE_INT8:
paramVariant = QVariant::fromValue(valueUnion.param_int8);
break;
case MAV_PARAM_TYPE_INT32:
paramVariant = QVariant::fromValue(valueUnion.param_int32);
break;
case MAV_PARAM_TYPE_UINT32:
paramVariant = QVariant::fromValue(valueUnion.param_uint32);
break;
case MAV_PARAM_TYPE_REAL32:
paramVariant = QVariant::fromValue(valueUnion.param_float);
break;
default:
qCritical() << "Invalid parameter type" << paramType;
case MAV_PARAM_TYPE_REAL32:
paramVariant = QVariant::fromValue(valueUnion.param_float);
break;
case MAV_PARAM_TYPE_UINT32:
paramVariant = QVariant::fromValue(valueUnion.param_uint32);
break;
case MAV_PARAM_TYPE_INT32:
paramVariant = QVariant::fromValue(valueUnion.param_int32);
break;
case MAV_PARAM_TYPE_UINT16:
paramVariant = QVariant::fromValue(valueUnion.param_uint16);
break;
case MAV_PARAM_TYPE_INT16:
paramVariant = QVariant::fromValue(valueUnion.param_int16);
break;
case MAV_PARAM_TYPE_UINT8:
paramVariant = QVariant::fromValue(valueUnion.param_uint8);
break;
case MAV_PARAM_TYPE_INT8:
paramVariant = QVariant::fromValue(valueUnion.param_int8);
break;
default:
qCritical() << "Invalid parameter type" << paramType;
paramVariant = QVariant::fromValue(valueUnion.param_int32);
break;
}
qCDebug(MockLinkLog) << "_setParamFloatUnionIntoMap" << paramName << paramVariant;
......@@ -442,36 +479,65 @@ float MockLink::_floatUnionForParam(int componentId, const QString& paramName)
QVariant paramVar = _mapParamName2Value[componentId][paramName];
switch (paramType) {
case MAV_PARAM_TYPE_INT8:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = (unsigned char)paramVar.toChar().toLatin1();
} else {
valueUnion.param_int8 = (unsigned char)paramVar.toChar().toLatin1();
}
break;
case MAV_PARAM_TYPE_REAL32:
valueUnion.param_float = paramVar.toFloat();
break;
case MAV_PARAM_TYPE_INT32:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toInt();
} else {
valueUnion.param_int32 = paramVar.toInt();
}
break;
case MAV_PARAM_TYPE_UINT32:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toUInt();
} else {
valueUnion.param_uint32 = paramVar.toUInt();
}
break;
case MAV_PARAM_TYPE_UINT32:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toUInt();
} else {
valueUnion.param_uint32 = paramVar.toUInt();
}
break;
case MAV_PARAM_TYPE_INT32:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toInt();
} else {
valueUnion.param_int32 = paramVar.toInt();
}
break;
case MAV_PARAM_TYPE_REAL32:
valueUnion.param_float = paramVar.toFloat();
break;
case MAV_PARAM_TYPE_UINT16:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toUInt();
} else {
valueUnion.param_uint16 = paramVar.toUInt();
}
break;
default:
qCritical() << "Invalid parameter type" << paramType;
case MAV_PARAM_TYPE_INT16:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toInt();
} else {
valueUnion.param_int16 = paramVar.toInt();
}
break;
case MAV_PARAM_TYPE_UINT8:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toUInt();
} else {
valueUnion.param_uint8 = paramVar.toUInt();
}
break;
case MAV_PARAM_TYPE_INT8:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = (unsigned char)paramVar.toChar().toLatin1();
} else {
valueUnion.param_int8 = (unsigned char)paramVar.toChar().toLatin1();
}
break;
default:
if (_firmwareType == MAV_AUTOPILOT_ARDUPILOTMEGA) {
valueUnion.param_float = paramVar.toInt();
} else {
valueUnion.param_int32 = paramVar.toInt();
}
qCritical() << "Invalid parameter type" << paramType;
}
return valueUnion.param_float;
......@@ -801,6 +867,7 @@ void MockLink::_sendStatusTextMessages(void)
MockConfiguration::MockConfiguration(const QString& name)
: LinkConfiguration(name)
, _firmwareType(MAV_AUTOPILOT_PX4)
, _vehicleType(MAV_TYPE_QUADROTOR)
, _sendStatusText(false)
{
......@@ -810,6 +877,7 @@ MockConfiguration::MockConfiguration(MockConfiguration* source)
: LinkConfiguration(source)
{
_firmwareType = source->_firmwareType;
_vehicleType = source->_vehicleType;
_sendStatusText = source->_sendStatusText;
}
......@@ -824,6 +892,7 @@ void MockConfiguration::copyFrom(LinkConfiguration *source)
}
_firmwareType = usource->_firmwareType;
_vehicleType = usource->_vehicleType;
_sendStatusText = usource->_sendStatusText;
}
......@@ -831,6 +900,7 @@ void MockConfiguration::saveSettings(QSettings& settings, const QString& root)
{
settings.beginGroup(root);
settings.setValue(_firmwareTypeKey, (int)_firmwareType);
settings.setValue(_vehicleTypeKey, (int)_vehicleType);
settings.setValue(_sendStatusTextKey, _sendStatusText);
settings.sync();
settings.endGroup();
......@@ -840,6 +910,7 @@ void MockConfiguration::loadSettings(QSettings& settings, const QString& root)
{
settings.beginGroup(root);
_firmwareType = (MAV_AUTOPILOT)settings.value(_firmwareTypeKey, (int)MAV_AUTOPILOT_PX4).toInt();
_vehicleType = (MAV_TYPE)settings.value(_vehicleTypeKey, (int)MAV_TYPE_QUADROTOR).toInt();
_sendStatusText = settings.value(_sendStatusTextKey, false).toBool();
settings.endGroup();
}
......
......@@ -44,6 +44,9 @@ public:
MAV_AUTOPILOT firmwareType(void) { return _firmwareType; }
void setFirmwareType(MAV_AUTOPILOT firmwareType) { _firmwareType = firmwareType; }
MAV_TYPE vehicleType(void) { return _vehicleType; }
void setVehicleType(MAV_TYPE vehicleType) { _vehicleType = vehicleType; }
/// @param sendStatusText true: mavlink status text messages will be sent for each severity, as well as voice output info message
void setSendStatusText(bool sendStatusText) { _sendStatusText = sendStatusText; }
bool sendStatusText(void) { return _sendStatusText; }
......@@ -57,9 +60,11 @@ public:
private:
MAV_AUTOPILOT _firmwareType;
MAV_TYPE _vehicleType;
bool _sendStatusText;
static const char* _firmwareTypeKey;
static const char* _vehicleTypeKey;
static const char* _sendStatusTextKey;
};
......@@ -183,8 +188,9 @@ private:
uint32_t _mavCustomMode;
uint8_t _mavState;
MockConfiguration* _config;
MAV_AUTOPILOT _firmwareType;
MockConfiguration* _config;
MAV_AUTOPILOT _firmwareType;
MAV_TYPE _vehicleType;
MockLinkFileServer* _fileServer;
......
......@@ -43,11 +43,23 @@ MockLinkConfiguration::MockLinkConfiguration(MockConfiguration *config, QWidget
break;
}
switch (config->vehicleType()) {
case MAV_TYPE_FIXED_WING:
_ui->apmArduPlaneRadio->setChecked(true);
break;
default:
_ui->apmArduCopterRadio->setChecked(true);
break;
}
_ui->sendStatusTextCheckBox->setChecked(config->sendStatusText());
connect(_ui->px4Radio, &QRadioButton::clicked, this, &MockLinkConfiguration::_px4RadioClicked);
connect(_ui->apmRadio, &QRadioButton::clicked, this, &MockLinkConfiguration::_apmRadioClicked);
connect(_ui->genericRadio, &QRadioButton::clicked, this, &MockLinkConfiguration::_genericRadioClicked);
connect(_ui->apmArduCopterRadio, &QRadioButton::clicked, this, &MockLinkConfiguration::_apmArduCopterRadioClicked);
connect(_ui->apmArduPlaneRadio, &QRadioButton::clicked, this, &MockLinkConfiguration::_apmArduPlaneRadioClicked);
connect(_ui->genericRadio, &QRadioButton::clicked, this, &MockLinkConfiguration::_genericRadioClicked);
connect(_ui->sendStatusTextCheckBox, &QCheckBox::clicked, this, &MockLinkConfiguration::_sendStatusTextClicked);
}
......@@ -77,6 +89,20 @@ void MockLinkConfiguration::_genericRadioClicked(bool checked)
}
}
void MockLinkConfiguration::_apmArduCopterRadioClicked(bool checked)
{
if (checked) {
_config->setVehicleType(MAV_TYPE_QUADROTOR);
}
}
void MockLinkConfiguration::_apmArduPlaneRadioClicked(bool checked)
{
if (checked) {
_config->setVehicleType(MAV_TYPE_FIXED_WING);
}
}
void MockLinkConfiguration::_sendStatusTextClicked(bool checked)
{
_config->setSendStatusText(checked);
......
......@@ -44,6 +44,8 @@ private slots:
void _px4RadioClicked(bool checked);
void _apmRadioClicked(bool checked);
void _genericRadioClicked(bool checked);
void _apmArduCopterRadioClicked(bool checked);
void _apmArduPlaneRadioClicked(bool checked);
void _sendStatusTextClicked(bool checked);
private:
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>187</width>
<height>116</height>
<width>238</width>
<height>188</height>
</rect>
</property>
<property name="windowTitle">
......@@ -42,6 +42,29 @@
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>APM vehicle type</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="apmArduCopterRadio">
<property name="text">
<string>ArduCopter</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="apmArduPlaneRadio">
<property name="text">
<string>ArduPlane</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment