There was an error while loading. Please reload this page.
2 parents 702ea60 + 7ee3d2f commit ebeb1eeCopy full SHA for ebeb1ee
nav2_behavior_tree/plugins/action/follow_path_action.cpp
@@ -43,7 +43,7 @@ void FollowPathAction::on_wait_for_result(
43
getInput("path", new_path);
44
45
// Check if it is not same with the current one
46
- if (goal_.path != new_path) {
+ if (goal_.path != new_path && new_path != nav_msgs::msg::Path()) {
47
// the action server on the next loop iteration
48
goal_.path = new_path;
49
goal_updated_ = true;
0 commit comments