_app->showToolBarMessage(QString("The MAVLink protocol version on vehicle #%1 and QGroundControl differ! "
"It is unsafe to use different MAVLink versions. "
"QGroundControl therefore refuses to connect to vehicle #%1, which sends MAVLink version %2 (QGroundControl uses version %3).").arg(vehicleId).arg(heartbeat.mavlink_version).arg(MAVLINK_VERSION));
returnfalse;
}
if(!getVehicleById(vehicleId)){
qCDebug(MultiVehicleManagerLog)<<"Adding new vehicle linkName:vehicleId:vehicleFirmwareType:vehicleType"
readonlypropertystringwelcomeText:"QGroundControl can upgrade the firmware on Pixhawk devices, 3DR Radios and PX4 Flow Smart Cameras."
readonlypropertystringplugInText:highlightPrefix+"Plug in your device"+highlightSuffix+" via USB to "+highlightPrefix+"start"+highlightSuffix+" firmware upgrade"
readonlypropertystringqgcDisconnectText:"All QGroundControl connections to vehicles must be disconnected prior to firmware upgrade. "+
"Click "+highlightPrefix+"Disconnect"+highlightSuffix+" in the toolbar above."
readonlypropertystringqgcDisconnectText:"All QGroundControl connections to vehicles must be disconnected prior to firmware upgrade."
propertystringusbUnplugText:"Device must be disconnected from USB to start firmware upgrade. "+
highlightPrefix+"Disconnect {0}"+highlightSuffix+" from usb."
...
...
@@ -88,7 +88,7 @@ QGCView {
onBoardFound:{
if(initialBoardSearch){
// Board was found right away, so something is already plugged in before we've started upgrade
_app->showToolBarMessage(QString("The MAVLink protocol version on vehicle #%1 and QGroundControl differ! "
"It is unsafe to use different MAVLink versions. "
"QGroundControl therefore refuses to connect to vehicle #%1, which sends MAVLink version %2 (QGroundControl uses version %3).").arg(vehicleId).arg(vehicleMavlinkVersion).arg(MAVLINK_VERSION));