-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Perception (LiDAR) ROI filter issue #9199
Copy link
Copy link
Closed
Labels
Module: PerceptionIndicates perception related issuesIndicates perception related issuesType: Help wantedIndicates that a maintainer wants help on an issue/pull request from the rest of the communityIndicates that a maintainer wants help on an issue/pull request from the rest of the community
Metadata
Metadata
Assignees
Labels
Module: PerceptionIndicates perception related issuesIndicates perception related issuesType: Help wantedIndicates that a maintainer wants help on an issue/pull request from the rest of the communityIndicates that a maintainer wants help on an issue/pull request from the rest of the community
Type
Fields
Give feedbackNo fields configured for issues without a type.
System information
Steps to reproduce the issue:
Currently we are testing perception module using Pointcloud.
In modules/perception/obstacle/onboard/lidar_process_subnode.cc:
if (roi_filter_->Filter(point_cloud, roi_filter_options, roi_indices.get()))**I found that it calls : HdmapROIFilter::Filter method. In this method the last call is return FilterWithPolygonMask(cloud_local, polygons_local, roi_indices);
In FilterWithPolygonMask method, DrawPolygonInBitmap is called and the error occurs in 3. Draw grids in bitmap based on scan intervals which is commented in code. **
if (scan_interval.first > scan_interval.second) { AERROR << "scan interval is not valid: " << "scan_interval.first = " << scan_interval.first << ", " << "scan_interval.second = " << scan_interval.second << "."; }Supporting materials (screenshots, command lines, code/script snippets):