forked from PointCloudLibrary/pcl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong update of min_points_ and max_points_
The update of min_points_ and max_points_ happens every time the compute method is called. If voxel_size_ is different from the standard value of 0.06, for each call to the compute method, min_points_ and max_points_ are getting smaller (for a voxel size > 0.06). After a couple of iterations, they are equal to zero. It is better to set min_points_ and max_points_ outside of the compute method, since there is no need to recalculate them every time. In addition, min_points_ and max_points_ depends on internal knowledge of the people tracker (the voxel_size_ and the fact, that there is only one point per voxel after downsampling). For a user of the people tracker, the only thing that should matter is the height and the width of a person cluster. The cluster limits can be deduced from this information.
- Loading branch information
1 parent
22b5a72
commit ba2f4ca
Showing
4 changed files
with
45 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters