From a16899a82976e58511c9d914790bc94875f5e0ce Mon Sep 17 00:00:00 2001 From: matlabbe Date: Sun, 29 Nov 2015 16:20:04 -0500 Subject: [PATCH] MainWindow: Updated feedback message when sending a goal fails --- guilib/src/MainWindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guilib/src/MainWindow.cpp b/guilib/src/MainWindow.cpp index 7d3701f7..407aa660 100644 --- a/guilib/src/MainWindow.cpp +++ b/guilib/src/MainWindow.cpp @@ -2222,9 +2222,10 @@ void MainWindow::processRtabmapGlobalPathEvent(const rtabmap::RtabmapGlobalPathE tr("Setting goal failed!"), tr("Setting goal to location %1%2 failed. " "Some reasons: \n" - "1) the location doesn't exist in the graph,\n" - "2) the location is not linked to the global graph or\n" - "3) the location is too near of the current location (goal already reached).") + "1) the robot is not yet localized in the map,\n" + "2) the location doesn't exist in the map,\n" + "3) the location is not linked to the global map or\n" + "4) the location is too near of the current location (goal already reached).") .arg(event.getGoal()) .arg(!event.getGoalLabel().empty()?QString(" \"%1\"").arg(event.getGoalLabel().c_str()):""), QMessageBox::Ok,