Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 17, 2024
1 parent 4acc91d commit 101f779
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,13 @@ void CrosswalkTrafficLightEstimatorNode::setCrosswalkTrafficSignal(
}
}

bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus(const TrafficSignal & signal) const
bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus(
const TrafficSignal & signal) const
{
// check occlusion, backlight(shape is unknown) and no detection(shape is circle)
if (
signal.elements.front().color == TrafficSignalElement::UNKNOWN &&
signal.elements.front().confidence == 0.0)
{
signal.elements.front().confidence == 0.0) {
return true;
}

Expand Down

0 comments on commit 101f779

Please sign in to comment.