Skip to content

Commit 5e47d83

Browse files
refactor(map_based_prediction): fix typo (autowarefoundation#4440)
1 parent dd8e1d6 commit 5e47d83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

perception/map_based_prediction/src/map_based_prediction_node.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ lanelet::ConstLanelets getRightLineSharingLanelets(
227227
for (auto & candidate : right_lane_candidates) {
228228
// exclude self lanelet
229229
if (candidate == current_lanelet) continue;
230-
// if candidate has linestring as leftbound, assign it to output
230+
// if candidate has linestring as left bound, assign it to output
231231
if (candidate.leftBound() == current_lanelet.rightBound()) {
232232
output_lanelets.push_back(candidate);
233233
}
@@ -254,7 +254,7 @@ lanelet::ConstLanelets getLeftLineSharingLanelets(
254254
for (auto & candidate : left_lane_candidates) {
255255
// exclude self lanelet
256256
if (candidate == current_lanelet) continue;
257-
// if candidate has linestring as rightbound, assign it to output
257+
// if candidate has linestring as right bound, assign it to output
258258
if (candidate.rightBound() == current_lanelet.leftBound()) {
259259
output_lanelets.push_back(candidate);
260260
}
@@ -287,7 +287,7 @@ lanelet::routing::LaneletPaths getPossiblePathsForIsolatedLanelet(
287287
lanelet::ConstLanelets possible_lanelets;
288288
possible_lanelets.push_back(lanelet);
289289
lanelet::routing::LaneletPaths possible_paths;
290-
// need to init path with constlanelets
290+
// need to initialize path with constant lanelets
291291
lanelet::routing::LaneletPath possible_path(possible_lanelets);
292292
possible_paths.push_back(possible_path);
293293
return possible_paths;

0 commit comments

Comments
 (0)