Skip to content

Commit 9ac18bf

Browse files
committed
fix for linter
1 parent 8ae2419 commit 9ac18bf

File tree

1 file changed

+2
-3
lines changed
  • perception/autoware_crosswalk_traffic_light_estimator/src

1 file changed

+2
-3
lines changed

perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ void CrosswalkTrafficLightEstimatorNode::setCrosswalkTrafficSignal(
329329
bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus(
330330
const TrafficSignal & signal) const
331331
{
332-
// invalid if elements is empty
332+
// invalid if elements is empty
333333
if (signal.elements.empty()) {
334334
return true;
335335
}
@@ -355,8 +355,7 @@ void CrosswalkTrafficLightEstimatorNode::updateFlashingState(const TrafficSignal
355355

356356
// flashing green
357357
if (
358-
!signal.elements.empty() &&
359-
signal.elements.front().color == TrafficSignalElement::UNKNOWN &&
358+
!signal.elements.empty() && signal.elements.front().color == TrafficSignalElement::UNKNOWN &&
360359
signal.elements.front().confidence != 0 && // not due to occlusion
361360
current_color_state_.at(id) != TrafficSignalElement::UNKNOWN) {
362361
is_flashing_.at(id) = true;

0 commit comments

Comments
 (0)