There was an error while loading. Please reload this page.
1 parent 1d745ec commit 5614aabCopy full SHA for 5614aab
nav2_behavior_tree/plugins/decorator/path_longer_on_approach.cpp
@@ -35,7 +35,7 @@ bool PathLongerOnApproach::isPathUpdated(
35
nav_msgs::msg::Path & old_path)
36
{
37
return old_path.poses.size() != 0 &&
38
- new_path.poses.size() != 0 && new_path.poses.size() > old_path.poses.size() &&
+ new_path.poses.size() != 0 &&
39
old_path.poses.back().pose.position == new_path.poses.back().pose.position;
40
}
41
0 commit comments