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 Apr 1, 2022
1 parent 4f40014 commit ed6bafe
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 @@ -1749,7 +1749,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 @@ -1785,7 +1785,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 ed6bafe

Please sign in to comment.