mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
MainWindow: Updated feedback message when sending a goal fails
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user