rectify the problem of consecutive publishing goals II
This commit is contained in:
Ryoo
2020-10-28 16:06:18 +08:00
parent 2a0c230ed0
commit f80157b500

View File

@@ -275,9 +275,6 @@ namespace navi_multi_goals_pub_rviz_plugin {
if (!status_list.empty()) {
goal_status = status_list.at(0).status;
switch (goal_status) {
case 0:
done = true;
break;
case 3 :
done = true;
ROS_INFO("completed Goal%d", curGoalIdx_);