-
Notifications
You must be signed in to change notification settings - Fork 660
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!: replace autoware_auto_msgs with autoware_msgs for perception modules #7245
Conversation
| -------------------------------------------------------- | ------------------------------------------------------- | ---------------------------------------------------------- | | ||
| `~/perception/object_recognition/tracking/objects` | `autoware_perception_msgs::msg::TrackedObjects` | tracking objects without predicted path. | | ||
| `~/vector_map` | `autoware_map_msgs::msg::LaneletMapBin` | binary data of Lanelet2 Map. | | ||
| `~/perception/traffic_light_recognition/traffic_signals` | `autoware_perception_msgs::msg::TrafficLightGroupArray` | rearranged information on the corresponding traffic lights | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note : It may be necessary to change the topic name to traffic_light_group, but first complete the transition to autoware_auto_msgs and then use a separate PR.
autoware_perception_msgs::msg::ObjectClassification classification; | ||
for (size_t i = 0; i < tracked_object.classification.size(); i++) { | ||
classification.label = tracked_object.classification[i].label; | ||
classification.probability = tracked_object.classification[i].probability; | ||
predicted_object.classification.push_back(classification); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Need to confirm why the writing style was changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
predicted_object.classification = tracked_object.classification;
I have confirmed that it works correctly with the original code here with planning simulator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8ed33d3
to
2048cd5
Compare
Added 3d05d58 or it won't compile. |
I'm working now in this branch |
@yukkysaito san, you have approved, I've assumed you were done with this PR. |
@xmfcx This is ready for merge. |
Since this depends on: I will merge that first 👍 |
a0dcc31
to
c3c1e93
Compare
Also depends on: Checking that now. |
…odules Signed-off-by: Ryohsuke Mitsudome <[email protected]> Co-authored-by: Cynthia Liu <[email protected]> Co-authored-by: NorahXiong <[email protected]> Co-authored-by: beginningfan <[email protected]>
Signed-off-by: M. Fatih Cırıt <[email protected]>
Signed-off-by: Yukihito Saito <[email protected]>
c3c1e93
to
125274b
Compare
No logic change and confirmed that it is a replacement (no _auto_msgs). |
There was no I think we can merge. |
…odules (autowarefoundation#7245) Signed-off-by: Ryohsuke Mitsudome <[email protected]> Co-authored-by: Cynthia Liu <[email protected]> Co-authored-by: NorahXiong <[email protected]> Co-authored-by: beginningfan <[email protected]> Co-authored-by: M. Fatih Cırıt <[email protected]> Co-authored-by: Yukihito Saito <[email protected]>
…odules (#7245) Signed-off-by: Ryohsuke Mitsudome <[email protected]> Co-authored-by: Cynthia Liu <[email protected]> Co-authored-by: NorahXiong <[email protected]> Co-authored-by: beginningfan <[email protected]> Co-authored-by: M. Fatih Cırıt <[email protected]> Co-authored-by: Yukihito Saito <[email protected]>
Description
This is subset of #6893 to make it easier to review.
This includes all the modification for
perception
directory in the original PR.Related links
#6893
https://github.com/orgs/autowarefoundation/discussions/3862
Tests performed
Notes for reviewers
Interface changes
Message types are modified according to the table in this comment.
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.