feat(depth): DepthCameraObstacleLayer gets its own LayerType
The plugin reported VOXEL_LAYER only because SensorGateway feeds sensor data to that type. It is its own layer, so LayerType gains DEPTH_CAMERA_LAYER (appended last: the values of the existing types do not move) and the plugin returns it. move_base2's SensorGateway delivers PointCloud2 and DepthCameraData to the new type in the matching commit; without that commit the layer receives nothing. matchSize() is overridden as well: CostmapLayer::matchSize() rebuilds the own grid with the default value, so the stored columns are re-marked under the layer mutex right away and the whole layer is queued for the next merge.
This commit is contained in:
@@ -461,8 +461,9 @@ cần quan sát. Không tăng `max_obstacle_height` vượt khỏi voxel grid m
|
||||
|
||||
### 5.6. DepthCameraObstacleLayer
|
||||
|
||||
Port thuật toán của `costmap_depth_camera` (noetic). Layer nhận `PointCloud2` đã lọc của từng
|
||||
depth camera và giữ các điểm vật cản 3D trong frame global của costmap. Lưới riêng của layer
|
||||
Port thuật toán của `costmap_depth_camera` (noetic). Layer có loại riêng `LayerType::DEPTH_CAMERA_LAYER`:
|
||||
`SensorGateway` của `move_base2` đẩy `PointCloud2` và `DepthCameraData` vào nó (không đẩy `LaserScan`).
|
||||
Layer nhận `PointCloud2` đã lọc của từng depth camera và giữ các điểm vật cản 3D trong frame global của costmap. Lưới riêng của layer
|
||||
phản chiếu các điểm đó theo từng ô (cột có điểm là `LETHAL`, cột mất điểm cuối cùng thành
|
||||
`FREE_SPACE`), rồi được gộp lên master như `ObstacleLayer` (`combination_method`). Mỗi chu kỳ:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user