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(

Check warning on line 325 in perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp#L325

Added line #L325 was not covered by tests
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;

Check warning on line 332 in perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp#L330-L332

Added lines #L330 - L332 were not covered by tests
}

Expand Down

0 comments on commit 101f779

Please sign in to comment.