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

fix: add downsample_after concat #175

Closed
wants to merge 2 commits into from

Conversation

badai-nguyen
Copy link
Contributor

@badai-nguyen badai-nguyen commented Sep 25, 2023

This PR will move voxel_grid_downsample pointcloud from before compare_map_filter to before ground_segmentation to reduce computational cost for X2. This related to tier4/autoware.universe#870

@@ -33,7 +33,7 @@ def launch_setup(context, *args, **kwargs):
name="concatenate_data",
remappings=[
("~/input/twist", "/sensing/vehicle_velocity_converter/twist_with_covariance"),
("output", "concatenated/pointcloud"),
("output", "concatenated/pointcloud_raw"),
Copy link
Contributor

Choose a reason for hiding this comment

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

concatenated/pointcloud_raw sounds very weird.
The topic name should represent its status, I think. So, it should be something like concatenated/pointcloud -> concatenated/downsampled/pointcloud.

Copy link
Contributor Author

@badai-nguyen badai-nguyen Oct 1, 2023

Choose a reason for hiding this comment

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

@miursh thank you for your comment. My intention is want to keep using concatenated/pointcloud input for perception including centerpoint, ground_segmentation, etc.
Currently we have 2 options:

  1. Keep output of pointcloud_preprocessor as concatenated/pointcloud and change concatenated/pointcloud_raw -> some more understandable name. For example concatenated/before_downsampled/pointcloud?
  2. Change output of pointcloud_preprocessor and all input perception module to concatenated/downsampled/pointcloud
    I currently prefer to 1) but of course I can change as 2) as your opinion.

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer another option.
Since I don't want to change the interface between sensing and perception, the output of sensing module should be concatenated/pointcloud.
And if you want to apply donwsampling before perception, you should add a donwsampling node in /perception namespace.
BTW, if you change the input point of centerpoint, I want to know that this change does not have much effects on the perception result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@miursh Thank you for your comment, Since I am going to add the downsampling before common_ground_filter in perception (tier4/autoware.universe@bc48f9e) , it will not affect on centerpoint input and this PR is unnecessary. I will close this.

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