-
Notifications
You must be signed in to change notification settings - Fork 692
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_image_based_projection_fusion): redesign image based projection fusion node #10016
feat(autoware_image_based_projection_fusion): redesign image based projection fusion node #10016
Conversation
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…oo many processing collector Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10016 +/- ##
==========================================
- Coverage 26.48% 26.35% -0.14%
==========================================
Files 1386 1391 +5
Lines 107338 107495 +157
Branches 41270 41332 +62
==========================================
- Hits 28430 28330 -100
- Misses 76074 76304 +230
- Partials 2834 2861 +27
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
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
Dear code owners, please review this PR.
This PR improves message synchronization so that overall latency decreases.
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@technolojin So, I created a fake sample and set corresponding fake parameters instead. I will set the parameters for each project in their respective launchers. |
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Regarding how to test this PR with the launcher.
|
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
….com:vividf/autoware.universe into feature/redesign_image_based_projection_node
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.
Thanks for your tough works! I have few comments. Please check it.
for (auto existing_timestamp : fractional_timestamp_set_) { | ||
if (std::abs(fractional_part - existing_timestamp) < msg3d_noise_window_ * 2) { | ||
existing_timestamp = (existing_timestamp + fractional_part) / 2; | ||
return; // If it belongs to an existing group, average the timestamp | ||
} | ||
} |
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.
Since fractional_timestamp_set_
is std::set and elements in set are const, this part won't work actually.
Try erase and re-insert, or replace data structure like vector.
for (auto it = fractional_set.begin(); it != fractional_set.end(); ++it) {
if (std::abs(*it - fractional_part) < tolerance) {
// If it belongs to an existing group, average the timestamp
double updated_value = (*it + fractional_part) / 2.0;
fractional_set.erase(it);
fractional_set.insert(updated_value);
return;
}
}
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.
You are right! Thanks a lot!
Fixed in 9213beb
@@ -16,7 +16,7 @@ | |||
<arg name="input/camera_info6" default="/camera_info6"/> | |||
<arg name="input/rois7" default="rois7"/> | |||
<arg name="input/camera_info7" default="/camera_info7"/> | |||
<arg name="input/pointcloud" default="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud"/> | |||
<arg name="input/pointcloud" default="/sensing/lidar/concatenated/pointcloud"/> |
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.
I do not understand why did you want to do this for now. I do not agree this for several reasons.
We can discuss this in another PR.
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.
Thanks!
I changed this for testing, but I forgot to change it back!
Fixed in ac52b2f
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
….com:vividf/autoware.universe into feature/redesign_image_based_projection_node
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
Description
This PR refactors the fusion node, introducing several new features:
More information is provided in the readme
Related links
Parent Issue:
TIER IV INTERNAL link
PRs that need to be merged together with this PR
How was this PR tested?
Evaluator
Diagnostics
Comparison
Rosbag: TIER4_ROSBAG
Frame comparison
New algorithm

Old algorithm

Video comparison
New algorithm vs Old algorithm
Processing time
Almost the same (1-2 ms difference)
new:
old:
Notes for reviewers
How to run with awf-latest in pilot.auto
Interface changes
None.
Effects on system behavior
None.