Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
Kenji Miyake committed Aug 3, 2022
1 parent d0dda71 commit f5771f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tmp/lanelet2_extension/lib/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ std::vector<lanelet::BasicPoint3d> resamplePoints(

// Calculate accumulated lengths
const auto accumulated_lengths = calculateAccumulatedLengths(line_string);
if (accumulated_lengths.size() < 2) return {};

// Create each segment
std::vector<lanelet::BasicPoint3d> resampled_points;
Expand Down

0 comments on commit f5771f4

Please sign in to comment.