Browse Source

Better error messages for failures

QGC4.4
DonLakeFlyer 8 years ago
parent
commit
4801d83d77
  1. 6
      src/Vehicle/Vehicle.cc

6
src/Vehicle/Vehicle.cc

@ -1712,19 +1712,19 @@ void Vehicle::sendMessageMultiple(mavlink_message_t message)
void Vehicle::_missionManagerError(int errorCode, const QString& errorMsg) void Vehicle::_missionManagerError(int errorCode, const QString& errorMsg)
{ {
Q_UNUSED(errorCode); Q_UNUSED(errorCode);
qgcApp()->showMessage(QString("Error during Mission communication with Vehicle: %1").arg(errorMsg)); qgcApp()->showMessage(QString("Mission transfer failed. Retry transfer. Error: %1").arg(errorMsg));
} }
void Vehicle::_geoFenceManagerError(int errorCode, const QString& errorMsg) void Vehicle::_geoFenceManagerError(int errorCode, const QString& errorMsg)
{ {
Q_UNUSED(errorCode); Q_UNUSED(errorCode);
qgcApp()->showMessage(QString("Error during GeoFence communication with Vehicle: %1").arg(errorMsg)); qgcApp()->showMessage(QString("GeoFence transfer failed. Retry transfer. Error: %1").arg(errorMsg));
} }
void Vehicle::_rallyPointManagerError(int errorCode, const QString& errorMsg) void Vehicle::_rallyPointManagerError(int errorCode, const QString& errorMsg)
{ {
Q_UNUSED(errorCode); Q_UNUSED(errorCode);
qgcApp()->showMessage(QString("Error during Rally Point communication with Vehicle: %1").arg(errorMsg)); qgcApp()->showMessage(QString("Rally Point transfer failed. Retry transfer. Error: %1").arg(errorMsg));
} }
void Vehicle::_addNewMapTrajectoryPoint(void) void Vehicle::_addNewMapTrajectoryPoint(void)

Loading…
Cancel
Save