File tree 1 file changed +2
-3
lines changed
perception/autoware_crosswalk_traffic_light_estimator/src
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ void CrosswalkTrafficLightEstimatorNode::setCrosswalkTrafficSignal(
329
329
bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus (
330
330
const TrafficSignal & signal) const
331
331
{
332
- // invalid if elements is empty
332
+ // invalid if elements is empty
333
333
if (signal .elements .empty ()) {
334
334
return true ;
335
335
}
@@ -355,8 +355,7 @@ void CrosswalkTrafficLightEstimatorNode::updateFlashingState(const TrafficSignal
355
355
356
356
// flashing green
357
357
if (
358
- !signal .elements .empty () &&
359
- signal .elements .front ().color == TrafficSignalElement::UNKNOWN &&
358
+ !signal .elements .empty () && signal .elements .front ().color == TrafficSignalElement::UNKNOWN &&
360
359
signal .elements .front ().confidence != 0 && // not due to occlusion
361
360
current_color_state_.at (id) != TrafficSignalElement::UNKNOWN) {
362
361
is_flashing_.at (id) = true ;
You can’t perform that action at this time.
0 commit comments