@@ -227,7 +227,7 @@ lanelet::ConstLanelets getRightLineSharingLanelets(
227
227
for (auto & candidate : right_lane_candidates) {
228
228
// exclude self lanelet
229
229
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
231
231
if (candidate.leftBound () == current_lanelet.rightBound ()) {
232
232
output_lanelets.push_back (candidate);
233
233
}
@@ -254,7 +254,7 @@ lanelet::ConstLanelets getLeftLineSharingLanelets(
254
254
for (auto & candidate : left_lane_candidates) {
255
255
// exclude self lanelet
256
256
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
258
258
if (candidate.rightBound () == current_lanelet.leftBound ()) {
259
259
output_lanelets.push_back (candidate);
260
260
}
@@ -287,7 +287,7 @@ lanelet::routing::LaneletPaths getPossiblePathsForIsolatedLanelet(
287
287
lanelet::ConstLanelets possible_lanelets;
288
288
possible_lanelets.push_back (lanelet);
289
289
lanelet::routing::LaneletPaths possible_paths;
290
- // need to init path with constlanelets
290
+ // need to initialize path with constant lanelets
291
291
lanelet::routing::LaneletPath possible_path (possible_lanelets);
292
292
possible_paths.push_back (possible_path);
293
293
return possible_paths;
0 commit comments