Skip to content

Commit

Permalink
fgg
Browse files Browse the repository at this point in the history
Signed-off-by: beyza <[email protected]>
  • Loading branch information
beyzanurkaya committed Sep 3, 2024
1 parent 8965419 commit f370eef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ void BehaviorPathPlannerNode::run()
planner_data_->parameters.input_path_interval);
if(planner_data_->parameters.check_bidirectional_lane){
for ([[maybe_unused]]const auto & current_lanelet : current_lanelets) {
bound_to_centerline = lanelet::geometry::distance2d(lanelet::utils::to2D(current_lanelet.leftBound().basicLineString()),
lanelet::utils::to2D(current_lanelet.centerline().basicLineString()));
bound_to_centerline = 1.0;
}
if (planner_data_->parameters.traffic_flow == "right_side") {
// path->points = shiftPath(*path, bound_to_centerline * 0.5).points;
Expand Down

0 comments on commit f370eef

Please sign in to comment.