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(tier4_v2x_msgs): add TrafficLightInfo.msg #160

Open
wants to merge 1 commit into
base: tier4/universe
Choose a base branch
from

Conversation

yhisaki
Copy link
Contributor

@yhisaki yhisaki commented Jan 8, 2025

Related Links

Description

Added a messages to read the traffic light in v2x.

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

  • Code is properly formatted
  • Assign PR to reviewer

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • Code is properly formatted
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets
  • Write release notes

CI Checks

  • Build and test for PR: Required to pass before the merge.
  • Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@mitsudome-r
Copy link
Collaborator

Are there any resources that explains the design of this message? If there are no existing discussion threads, I would at least would like to have a README added to the package explaining how the messages are expected to be used.

@yhisaki
Copy link
Contributor Author

yhisaki commented Jan 8, 2025

@mitsudome-r
I want to discuss in this thread!
Thank you!

@mitsudome-r
Copy link
Collaborator

mitsudome-r commented Jan 8, 2025

It's okay to have internal discussion in slack, but I would like to make sure that the final design and the usage are visible somewhere in GitHub so it's more obvious when we look back.

Comment on lines +3 to +7
bool has_min_rest_time
float32 min_rest_time
float32 min_rest_time_to_red
bool has_max_rest_time
float32 max_rest_time
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • What is the difference between min_rest_time and min_rest_time_to_red?
  • Why max_rest_time does not have max_rest_time_to_red?

Also, it sounds more natural if we name it remaning_time instead of rest_time.

@@ -0,0 +1,7 @@
std_msgs/Header header
autoware_perception_msgs/TrafficLightGroup[] states
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this message is for describing the remaining time for traffic light state, it might be better to explicitly name the variable name as current_state or next_state since it is confusing for the users.

Comment on lines +2 to +3
unique_identifier_msgs/UUID vehicle_id
uint64 target_id
Copy link
Collaborator

Choose a reason for hiding this comment

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

What are these IDs for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants