Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(autoware_traffic_light_selector): add camera_info into message_filter #10089

Merged

style(pre-commit): autofix

7a9596a
Select commit
Loading
Failed to load commit list.
Merged

fix(autoware_traffic_light_selector): add camera_info into message_filter #10089

style(pre-commit): autofix
7a9596a
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Feb 11, 2025 in 36s

CodeScene PR Check

Quality Gate Passed

Gates Passed
4 Quality Gates Passed

See analysis details in CodeScene

Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Details

✅ Improving Code Health:

  • Complex Method traffic_light_selector_node.cpp: TrafficLightSelectorNode::objectsCallback

Annotations

Check notice on line 129 in perception/autoware_traffic_light_selector/src/traffic_light_selector_node.cpp

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

✅ Getting better: Complex Method

TrafficLightSelectorNode::objectsCallback decreases in cyclomatic complexity from 15 to 14, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.