Skip to content

Perception (LiDAR) ROI filter issue #9199

@warden2018

Description

@warden2018

System information

  • OS Platform and Distribution Linux Ubuntu 14.04:
  • Apollo installed from source:
  • Apollo version 3.0:

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 << "."; }
15562213

  • So we are not sure whether there is something wrong with the map polygon which is the input of the Filter process or other input. We hope someone can help answer the question and give us some advice.

Supporting materials (screenshots, command lines, code/script snippets):

Metadata

Metadata

Assignees

Labels

Module: PerceptionIndicates perception related issuesType: Help wantedIndicates that a maintainer wants help on an issue/pull request from the rest of the community

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions