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

Port Add height of cluster with the most points method #323 to master #329

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

kosuke55
Copy link

@kosuke55 kosuke55 commented Nov 28, 2021

I ported #323 to master. (ros2 -> ros1)
height_thresh is a parameter to reduce the influence of point clouds that exist in high locations such as ceilings.

0: Smallest value among the average values ​​of each cluster (current method)
Screenshot from 2021-11-28 13-56-53

1: Largest value among the average values ​​of each cluster (current method which is implemeted only for ros1)
Screenshot from 2021-11-28 13-57-09

2: Mean value of the cluster with the most (new method)
Screenshot from 2021-11-28 13-57-30

Copy link
Collaborator

@maximilianwulf maximilianwulf left a comment

Choose a reason for hiding this comment

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

LGTM.

grid_map_pcl/src/GridMapPclLoader.cpp Show resolved Hide resolved
grid_map_pcl/src/GridMapPclLoader.cpp Show resolved Hide resolved
@maximilianwulf
Copy link
Collaborator

Hey, some changes have been merged, or will be merged, can you update the MR?

@kosuke55
Copy link
Author

kosuke55 commented Dec 1, 2021

@maximilianwulf
OK, please wait.

@kosuke55 kosuke55 force-pushed the feature/port_height_of_cluster_with_the_most_points branch from 5e41cda to 0cc1b53 Compare December 1, 2021 13:37
@maximilianwulf
Copy link
Collaborator

Thank you, will import the MR.

@maximilianwulf
Copy link
Collaborator

One unit test was failing due to the API change, I fixed it internally. Could you provide a second MR with a unit test of this code change?

@kosuke55
Copy link
Author

kosuke55 commented Dec 4, 2021

@maximilianwulf
I fixed CalculateElevation unit test. 0a23458

@@ -47,6 +47,11 @@ class PclLoaderParameters {
double resolution_ = 0.1;
unsigned int minCloudPointsPerCell_ = 2;
Copy link
Collaborator

Choose a reason for hiding this comment

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

useMaxHeightAsCellElevation_ in ClustExtractionParameters can be deleted, right?

Copy link
Author

Choose a reason for hiding this comment

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

Fixed in efc2f16

@@ -47,6 +47,11 @@ class PclLoaderParameters {
double resolution_ = 0.1;
unsigned int minCloudPointsPerCell_ = 2;
unsigned int maxCloudPointsPerCell_ = 100000;
// 0: Smallest value among the average values ​​of each cluster
// 1: Mean value of the cluster with the most points
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happend to type = 2?

Copy link
Author

Choose a reason for hiding this comment

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

Oh i just copy ros2 version. Fixed in 1f1ab69

@kosuke55
Copy link
Author

kosuke55 commented Jan 9, 2022

@maximilianwulf
I fixed according to your comment, so please check it.

@kosuke55
Copy link
Author

ping @maximilianwulf

1 similar comment
@kosuke55
Copy link
Author

ping @maximilianwulf

@kosuke55
Copy link
Author

kosuke55 commented Oct 4, 2022

friendly ping @maximilianwulf

@kosuke55
Copy link
Author

kindly ping @maximilianwulf

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.

None yet

2 participants