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] authored and MasatoSaeki committed Dec 17, 2024
1 parent 50575fc commit 360b561
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,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 360b561

Please sign in to comment.