-
Notifications
You must be signed in to change notification settings - Fork 626
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(image_projection_based_fusion): add instance segmentation fusion #8167
base: main
Are you sure you want to change the base?
feat(image_projection_based_fusion): add instance segmentation fusion #8167
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Currently there is a problem something like following: Video The I used NuScenes dataset and the timestamps looks like this: There are following time gaps between sensors: Two Lidar Message: I used following parameters for
I guess the Do you have any idea about what did i do wrong?, Sorry for the pings, feel free to ignore. I just ping the people suggested for review to ask question. I guess you are the maintainers of image_projection_based_fusion @badai-nguyen @storrrrrrrrm |
Thank you for your PR! And @tzhong518 , you have gained a lot of experience with offset settings during the development of pointpainting. Could you please provide some comments? |
Thanks for your interest @Shin-kyoto
I forgot to say. I used And yes it is misaligned. The callback is kindda slow right now because of the number of the instance segmentation images. I have to optimize the callback. Do you think it cause the sync problem of ROIs and lidar. If yes, I also would like you to take a look at https://github.com/orgs/autowarefoundation/discussions/5047 so I can update mag type and optimize the fusion function somehow. |
Thank you for your comments.
|
Hi again, I guess I could not understand your idea totally. Here is the timestamps of rois and lidar from I didn't fully understand the rest of what you said. Please can you explain in different way? When visualization, do you want me to use the original dataset along with the ROIs I generated, or should I only use the lidar and camera data from the dataset and is the main thing we expect to see the lidar and camera data fitting together properly? Also I just realize I put a wrong video. The past video includes the data from our test vehicle. The outputs and issues are same but I updated the video link anyway. You can see new video from this link (includes nuScenes dataset): Link |
Signed-off-by: Barış Zeren <[email protected]>
Signed-off-by: Barış Zeren <[email protected]>
ee41e54
to
0138685
Compare
OK. First, it is important to check whether synchronization occurs without the impact of visualization delays or not. So, please play the rosbag at a very slow speed. Second, by visualizing your dataset, please check which timestamped point cloud data and which timestamped images should be assigned. Then, verify which timestamped point cloud data and which timestamped images are actually being assigned when running Autoware. |
@tzhong518 , you have gained a lot of experience with offset settings during the development of pointpainting. Could you please provide some comments? |
OK @Shin-kyoto, these are timestamps from Autoware and Dataset: These are the timestamps from dataset and synced timestamps should be like that: synced_should_be.csv These are the timestamps from Autoware: from_autoware.csv Like you mentioned, I compared the timestamps from Autoware callback and dataset, and it look like it is not as it should be and often takes previous and next timestamps. I think we have to tune parameters somehow, right? |
First of all, the timestamp of lidar topic in |
It because, point cloud hz is bigger than camera hz and I did not put the pointclouds does not match camera data. There is actually a pointcloud frame with |
Please publish the point cloud at 10Hz for easy debugging. Please thin out the point cloud included in the dataset at 20Hz to 10Hz. The timestamps of the image included in synced_should_be.csv do not match the timestamps of the image included in from_autoware.csv. Why? |
Hi again, @Shin-kyoto
The data I used is nuScenes dataset which converted to ROS 2 bag file with open source tool, because of that I did not set the point cloud hz before but you are right it will be better to use 10 hz lidar. So let me try to update the tool, but it could be take a little bit time, because I have to do some changes in converter tool to reduce the lidar hz.
About this one, actually this stamp is in both I created the diagram below to symbolize the data in the The part I don't understand is that when the Additionally, I haven't seen the By the way, I've been taking up a bit too much of your time lately, and I'm sorry for that. |
Signed-off-by: Barış Zeren <[email protected]>
Description
This PR adds a new image projection based fusion method which fuses instance segmentation results and point cloud.
Related links
Parent Issue:
How was this PR tested?
1) Rebase this PR onto autoware.universe main branch
2) Build the package and other dependencies of package
cd autoware colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to image_projection_based_fusion
3) Update the topic parameters from
instance_segmentation_pointcloud_fusion.launch.xml
and run the launch fileIt needs following topics:
sensor_msgs/msg/CameraInfo
(for each camera)sensor_msgs/msg/PointCloud2
tier4_perception_msgs/msg/DetectedObjectsWithMask
(for each camera) (It comes fromtensorrt_rtmdet
package)Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.