Skip to content

Commit

Permalink
Fix false triggering (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim authored Mar 29, 2024
1 parent e5ea100 commit 2f9b9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terrain_navigation/include/terrain_navigation/path.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class Path {
Eigen::Vector3d next_segment_start = segments[segment_idx].states.front().position;
if ((closest_point - next_segment_start).norm() < epsilon_) {
segment.reached = true;
return segment;
return segments[segment_idx];
}
}

Expand Down

0 comments on commit 2f9b9ae

Please sign in to comment.