modules/perception/pointcloud_preprocess/README.md
The point cloud preprocessing module preprocesses the point cloud data output by the driver. Deleting nan value points, points that are too far away, points scanned onto the self vehicle, and point that are too high.
├── pointcloud_preprocess // point cloud preprocess component
├── conf // configuration folder
├── dag // module startup file
├── data // module configuration parameters
├── launch // launch file
├── interface // preprocess interface
├── proto // preprocess module configuration proto file
├── preprocessor // preprocess method
├── pointcloud_preprocess_component.cc // component entrance
├── pointcloud_preprocess_component.h
├── cyberfile.xml // package management file
├── README.md // readme file
└── BUILD // compile file
apollo::perception::lidar::PointCloudPreprocessComponent
| Name | Type | Description | Input channal |
|---|---|---|---|
msg | apollo::drivers::PointCloud | point cloud message | /apollo/sensor/velodyne64/compensator/PointCloud2 |
Point cloud data from driver: If there is one lidar, output point cloud after motion compensation. If there are multiple
lidars, concatenate the point clouds into one frame after motion compensation. The default trigger channel is /apollo/sensor/velodyne64/compensator/PointCloud2. The detailed input channel information is in modules/perception/pointcloud_preprocess/dag/pointcloud_preprocess.dag file.
| Name | Type | Description | Output channal |
|---|---|---|---|
frame | apollo::perception::onboard::LidarFrameMessage | lidar frame message | /perception/lidar/pointcloud_preprocess |
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.hfile. The output channel message data can be subscribed by components in the same process. The detailed output channel information is inmodules/perception/pointcloud_preprocess/conf/pointcloud_preprocess_config.pb.txtfile.
modules/perception/data/params, corresponding frame_id and sensor_name,
launch transformcyber_launch start modules/transform/launch/static_transform.launch
Modify modules/perception/launch/perception_lidar.launchmodules/perception/pointcloud_preprocess/dag/pointcloud_preprocess.dag here/apollo/perception/obstacles, this can be
used for individual debugging. Modify relevant channel configurations in
modules/perception/data/flag/perception_common.flagmodules/perception/pointcloud_preprocess/conf/pointcloud_preprocess_config.pb.txtcyber_launch start modules/perception/pointcloud_preprocess/launch/pointcloud_preprocess.launch