Skip to content

Commit

Permalink
adding additional layer of check
Browse files Browse the repository at this point in the history
Signed-off-by: Pradheep <[email protected]>
  • Loading branch information
padhupradheep committed Sep 15, 2024
1 parent a8d4cbc commit 240750f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bool PathLongerOnApproach::isPathUpdated(
{
return old_path.poses.size() != 0 &&
new_path.poses.size() != 0 &&
new_path.poses.size() != old_path.poses.size() &&
old_path.poses.back().pose.position == new_path.poses.back().pose.position;
}

Expand Down

0 comments on commit 240750f

Please sign in to comment.