Commit 4801d83d authored by DonLakeFlyer's avatar DonLakeFlyer

Better error messages for failures

parent 9e426b02
...@@ -1712,19 +1712,19 @@ void Vehicle::sendMessageMultiple(mavlink_message_t message) ...@@ -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)
......
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