We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de83f25 commit 3c5a0b8Copy full SHA for 3c5a0b8
planning/behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp
@@ -962,8 +962,10 @@ bool CrosswalkModule::isRedSignalForPedestrians() const
962
continue;
963
}
964
965
- if (lights.front().color == TrafficSignalElement::RED) {
966
- return true;
+ for (const auto & element : lights) {
+ if (
967
+ element.color == TrafficSignalElement::RED && element.shape == TrafficSignalElement::CIRCLE)
968
+ return true;
969
970
971
0 commit comments