Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and zulfaqar-azmi-t4 committed Mar 24, 2022
1 parent ac88928 commit ed62c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planning/behavior_path_planner/src/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ bool checkLaneIsInIntersection(
const lanelet::ConstLanelets & lanelet_sequence, const double & lane_change_buffer,
double & additional_length_to_add)
{
if(lanelet_sequence.empty()){
if (lanelet_sequence.empty()) {
return false;
}
const auto & path_points = ref.points;
Expand Down Expand Up @@ -1757,7 +1757,7 @@ bool checkLaneIsInIntersection(

const auto lanes = route_handler.getNextLanelets(prev_lanelets.back());
if (isHaveNeighborWithTurnDirection(lanes)) {
lanelet::ConstLanelets lane_of_interest {check_lane};
lanelet::ConstLanelets lane_of_interest{check_lane};
// additional_length_to_add = lanelet::utils::getLaneletLength2d(check_lane);
for (auto itr = prev_lanelets.crbegin(); itr != prev_lanelets.crend(); ++itr) {
if (!itr->hasAttribute(lanelet::AttributeNamesString::LaneChange)) {
Expand Down

0 comments on commit ed62c6f

Please sign in to comment.