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

feat(autoware_traffic_light_multi_camera_fusion): Created Schema file and updated ReadME file for parameters setting #9994

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

vish0012
Copy link
Contributor

Description

Related links

Parent Issue:

  • Link

How was this PR tested?

  • colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to autoware_traffic_light_multi_camera_fusion

Screenshot from 2025-01-21 11-55-56

  • ros2 launch launch/traffic_light_multi_camera_fusion.launch.xml

Screenshot from 2025-01-21 11-57-46

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

… and updated ReadME file for parameters setting

Signed-off-by: vish0012 <[email protected]>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) labels Jan 21, 2025
Copy link

github-actions bot commented Jan 21, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@MasatoSaeki MasatoSaeki added the run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Jan 21, 2025
Copy link
Contributor

@MasatoSaeki MasatoSaeki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vish0012
Thank you for your PR. Could you please check my comments?

@@ -150,7 +150,7 @@ MultiCameraFusion::MultiCameraFusion(const rclcpp::NodeOptions & node_options)
std::vector<std::string> camera_namespaces =
this->declare_parameter("camera_namespaces", std::vector<std::string>{});
is_approximate_sync_ = this->declare_parameter<bool>("approximate_sync", false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
is_approximate_sync_ = this->declare_parameter<bool>("approximate_sync", false);
is_approximate_sync_ = this->declare_parameter<bool>("approximate_sync");

@@ -150,7 +150,7 @@ MultiCameraFusion::MultiCameraFusion(const rclcpp::NodeOptions & node_options)
std::vector<std::string> camera_namespaces =
this->declare_parameter("camera_namespaces", std::vector<std::string>{});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this->declare_parameter("camera_namespaces", std::vector<std::string>{});
this->declare_parameter<std::vector<std::string>>("camera_namespaces");

Comment on lines +27 to +31
"perform_group_fusion": {
"type": "boolean",
"description": "Whether to perform Group Fusion.",
"default": false
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"perform_group_fusion": {
"type": "boolean",
"description": "Whether to perform Group Fusion.",
"default": false
}

This parameter is not used. So delete it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And could you delete perform_group_fusion in ***.param.yaml too?

Comment on lines +33 to +38
"required": [
"camera_namespaces",
"message_lifespan",
"approximate_sync",
"perform_group_fusion"
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"required": [
"camera_namespaces",
"message_lifespan",
"approximate_sync",
"perform_group_fusion"
],
"required": [
"camera_namespaces",
"message_lifespan",
"approximate_sync",
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
Status: To Triage
Development

Successfully merging this pull request may close these issues.

2 participants