Commit 136ffa8e authored by Don Gagne's avatar Don Gagne

parent f6c8c14f
...@@ -134,14 +134,10 @@ void PX4AutoPilotPlugin::parametersReadyPreChecks(void) ...@@ -134,14 +134,10 @@ void PX4AutoPilotPlugin::parametersReadyPreChecks(void)
// Base class must be called // Base class must be called
AutoPilotPlugin::parametersReadyPreChecks(); AutoPilotPlugin::parametersReadyPreChecks();
// Check for older parameter version set QString hitlParam("SYS_HITL");
// FIXME: Firmware is moving to version stamp parameter set. Once that is complete the version stamp if (_vehicle->parameterManager()->parameterExists(FactSystem::defaultComponentId, hitlParam) &&
// should be used instead. _vehicle->parameterManager()->getParameter(FactSystem::defaultComponentId, hitlParam)->rawValue().toBool()) {
if (_vehicle->parameterManager()->parameterExists(FactSystem::defaultComponentId, "SENS_GYRO_XOFF") || qgcApp()->showMessage(tr("Warning: Hardware In The Loop (HITL) simulation is enabled for this vehicle."));
_vehicle->parameterManager()->parameterExists(FactSystem::defaultComponentId, "COM_DL_LOSS_EN")) {
_incorrectParameterVersion = true;
qgcApp()->showMessage(tr("This version of GroundControl can only perform vehicle setup on a newer version of firmware. "
"Please perform a Firmware Upgrade if you wish to use Vehicle Setup."));
} }
} }
......
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