We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0369970 commit 52a0525Copy full SHA for 52a0525
planning/behavior_path_planner/src/scene_module/side_shift/side_shift_module.cpp
@@ -411,9 +411,9 @@ void SideShiftModule::adjustDrivableArea(ShiftedPath * path) const
411
const double left_offset = std::max(
412
*itr.second + (*itr.first > threshold ? margin : 0.0),
413
parameters_.drivable_area_left_bound_offset);
414
- const double right_offset = std::min(
+ const double right_offset = -std::min(
415
*itr.first - (*itr.first < -threshold ? margin : 0.0),
416
- parameters_.drivable_area_right_bound_offset);
+ -parameters_.drivable_area_right_bound_offset);
417
418
const auto extended_lanelets = util::expandLanelets(current_lanelets_, left_offset, right_offset);
419
0 commit comments