modules/perception/lidar_segmentation/README_cn.md
lidar_segmentation
lidar背景分割模块使用secondary_indices点云进行分割。Secondary indices是non_ground_indice和roi_indices的交集,并删除前景对象点索引。
├── lidar_segmentation // lidar segmentation组件
├── common // 公用代码
├── conf // 配置文件目录
├── dag // dag启动文件
├── data // 模块配置参数
├── launch // launch启动文件
├── proto // lidar segmentation模块配置proto文件
├── segmentor // 背景分割方法
├── lidar_segmentation_component.cc // 组件入口
├── lidar_segmentation_component.h
├── cyberfile.xml // 包管理配置文件
├── README.md
├── README_cn.md
└── BUILD
apollo::perception::lidar::LidarSegmentationComponent
| 名称 | 类型 | 描述 |
|---|---|---|
msg | onboard::LidarFrameMessage | 激光雷达消息帧 |
| 名称 | 类型 | 描述 |
|---|---|---|
frame | onboard::LidarFrameMessage | 激光雷达消息帧 |
如下 graph_segmentation 的配置。
| 参数类型 | 参数名称 | 默认值 | 含义 |
|---|---|---|---|
| uint32 | grid_width | 网格宽度 | |
| uint32 | grid_height | 网格高度 | |
| float | 分辨率 | 网格分辨率 | |
| float | 阈值 | 图形分割阈值 | |
| uint32 | min_pt_number | 聚类的最小点数 | |
| uint32 | search_radius | 3 | 网格搜索半径 |
| float | height_threshold | 2.0 | 高度阈值 |
| float | xmin | -30.0 | pointcloud 前方有效距离 |
| float | xmax | 30.0 | pointcloud 后方有效距离 |
| float | ymin | -10.0 | pointcloud 右侧有效距离 |
| float | ymax | 30.0 | pointcloud 左侧有效距离 |
| float | semantic_cost | 1.0 | 语义标签成本 |
| float | same_semantic_coefficient | 1.0 | 语义类别相同时的系数 |
| float | diff_semantic_coefficient | 1.0 | 语义类别不同时的系数 |
| float | same_motion_coefficient | 1.0 | 动静态类别相同时的系数 |
| float | diff_motion_coefficient | 1.0 | 动静态类别不同时的系数 |
| float | split_aspect_ratio | 10.0 | 切分目标的长宽比阈值 |
| float | split_distance | 5.0 | 切分长度 |
cyber_launch start /apollo/modules/transform/launch/static_transform.launch
lidar_segmentation.dag 添加到 perception_lidar.launchcyber_launch start /apollo/modules/perception/launch/perception_lidar.launch