Skip to content
Snippets Groups Projects

fix: fix roadmark conversion bug

Merged Ziqi Zhou requested to merge ziqi/road-logic-suite:bugfix/roadmark-conversion into main
6 files
+ 486
7
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -277,10 +277,13 @@ std::unique_ptr<map_api::LaneBoundary> MantleMapConverter::CreateBoundary(const
}
}
if (auto boundary_point =
utils::CreateBoundaryPointAt(converter, section.s_end, t_offset, road.id, road_mark, section, lane_id))
if (s_end == section.s_end)
{
boundary_points.push_back(boundary_point.value());
if (auto boundary_point =
utils::CreateBoundaryPointAt(converter, s_end, t_offset, road.id, road_mark, section, lane_id))
{
boundary_points.push_back(boundary_point.value());
}
}
if (config_.downsampling)
Loading