We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4a195 commit cd1e5dbCopy full SHA for cd1e5db
planning/behavior_velocity_blind_spot_module/src/scene.cpp
@@ -550,6 +550,13 @@ std::optional<BlindSpotPolygons> BlindSpotModule::generateBlindSpotPolygons(
550
if (adj_lane) {
551
return *adj_lane;
552
}
553
+ const auto assoc_shoulder =
554
+ (turn_direction_ == TurnDirection::LEFT)
555
+ ? planner_data_->route_handler_->getLeftLanelet(lane, true /* get_shoulder_lane */)
556
+ : planner_data_->route_handler_->getRightLanelet(lane, true);
557
+ if (assoc_shoulder) {
558
+ return assoc_shoulder.value();
559
+ }
560
561
return std::nullopt;
562
});
0 commit comments