Apollo 10.0
自动驾驶开放平台
|
Filter the point cloud outside the ROI.
The Region of Interest (ROI) specifies the drivable area that includes road surfaces and junctions that are retrieved from the HD (high-resolution) map. The HDMap ROI filter processes LiDAR points that are outside the ROI, removing background objects, e.g., buildings and trees around the road. What remains is the point cloud in the ROI for subsequent processing.
Given an HDMap, the affiliation of each LiDAR point indicates whether it is inside or outside the ROI. Each LiDAR point can be queried with a lookup table (LUT) of 2D quantization of the region around the car. The input and output of the HDMap ROI filter module are summarized in the table below.
apollo::perception::lidar::PointCloudMapROIComponent
Name | Type | Description | Input channal |
---|---|---|---|
frame | apollo::perception::onboard::LidarFrameMessage | lidar frame message | /perception/lidar/pointcloud_preprocess |
>Note: The input channel is structure type data. The default trigger channel is /perception/lidar/pointcloud_preprocess
. The detailed input channel information is in modules/perception/pointcloud_map_based_roi/dag/pointcloud_map_based_roi.dag
file. By default, the upstream components of the messages received by the component include pointcloud_preprocess
.
Name | Type | Description | Output channal |
---|---|---|---|
frame | apollo::perception::onboard::LidarFrameMessage | LidarFrame's roi_indices: save the indices of point inside the ROI | /perception/lidar/pointcloud_map_based_roi |
>Note: The output channel is structure type data. The message is defined in the modules/perception/common/onboard/inner_component_messages/lidar_inner_component_messages.h
file. The output channel message data can be subscribed by components in the same process. The detailed output channel information is in modules/perception/pointcloud_map_based_roi/conf/pointcloud_map_based_roi_config.pb.txt
file.
modules/perception/data/params
,keep frame_id and sensor_name consistent, start the tfmodules/perception/data/models
using amodel
tool.如果您在使用文档的过程中,遇到任何问题,请到我们在【开发者社区】建立的 反馈意见收集问答页面,反馈相关的问题。我们会根据反馈意见对文档进行迭代优化。