modules/perception/lidar_detection/README.md
Perform 3D object detection based on the point cloud, and output the position, size, and orientation of the detected objects. Apollo provides 4 lidar detection models: centerpoint, maskpillars, pointpillars, cnnseg.
├── lidar_detection
├── conf // component config file
├── dag // component dag file
├── data // model config files
├── detector // lidar model
│ ├── center_point_detection // CenterPoint model code
│ ├── cnn_segmentation // CNNSeg model code
│ ├── mask_pillars_detection // MaskPillars model code
│ └── point_pillars_detection // PointPillars model code
├── interface // definition of BaseLidarDetector
├── proto // definition of data structure
├── lidar_detection_component.cc // component inference
├── lidar_detection_component.h
├── cyberfile.xml // package configs
├── README.md
└── BUILD
apollo::perception::lidar::LidarDetectionComponent
| Name | Type | Description | Input channal |
|---|---|---|---|
frame | apollo::perception::onboard::LidarFrameMessage | lidar frame message | perception/lidar/pointcloud_ground_detection |
Note: The input channel is structure type data. The default trigger channel is
/perception/lidar/pointcloud_ground_detection. The detailed input channel information is inmodules/perception/lidar_detection/dag/lidar_detection.dagfile. By default, the upstream components of the messages received by the component includepointcloud_ground_detection.
| Name | Type | Description | Output channal |
|---|---|---|---|
frame | apollo::perception::onboard::LidarFrameMessage | LidarFrame's segmented_objects | /perception/lidar/detection |
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/lidar_detection/conf/lidar_detection_config.pb.txtfile.
modules/perception/data/params,keep frame_id and sensor_name consistent, start the
tfcyber_launch start modules/transform/launch/static_transform.launch
modules/perception/data/models using amodel
tool.amodel install https://xxx.zip
modules/perception/lidar_detection/dag/lidar_detection.dagmodules/perception/lidar_detection/conf/lidar_detection_config.pb.txtcyber_launch start modules/perception/launch/perception_lidar.launch