Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
tkimura4 authored Jul 12, 2022
1 parent 4eddeac commit eddc789
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ std::vector<lanelet::ConstLanelet> getCrosswalksOnPath(
}

// Add forward path lane_id
const size_t start_idx = *nearest_segment_idx ? *nearest_segment_idx + 1 : 0;
const size_t start_idx = nearest_segment_idx ? *nearest_segment_idx + 1 : 0;
for (size_t i = start_idx; i < path.points.size(); i++) {
const int64_t lane_id = path.points.at(i).lane_ids.at(0);
if (
Expand Down

0 comments on commit eddc789

Please sign in to comment.