robot_costmap_2d has LayerType::DEPTH_CAMERA_LAYER for DepthCameraObstacleLayer. The gateway now pushes PointCloud2 to that type as well as to VOXEL_LAYER, in both the local and the global costmap. LaserScan, PointCloud and DepthCameraData stay VOXEL_LAYER only: the layer marks and clears from the filtered camera cloud and does not use the depth image. Needs robot_costmap_2d main 64974d4 or later (the enum value). Squashed from feature/depth-camera-layer-type (c280a0a..d3a9208).
15 KiB
15 KiB