refactor(obstacle_layer): drop the DepthCameraData startup guard

ObstacleLayer and VoxelLayer no longer carry any depth code, so the check
that rejected a DepthCameraData source or frustum_clearing_enabled goes too.
A DepthCameraData source still fails at startup through the generic
data_type check; frustum_clearing_enabled is now an unknown key.

The README and the LayerType comment now say the gateway feeds
DepthCameraObstacleLayer PointCloud2 only.
This commit is contained in:
2026-10-21 13:35:14 +07:00
parent 40dc70e758
commit 74a02bd4a8
3 changed files with 8 additions and 20 deletions

View File

@@ -58,7 +58,7 @@ enum class LayerType
UNPREFERRED_LAYER,
VOXEL_LAYER,
/// DepthCameraObstacleLayer. Appended last so the values above keep their numbers; the host's
/// SensorGateway feeds it PointCloud2 and DepthCameraData.
/// SensorGateway feeds it PointCloud2.
DEPTH_CAMERA_LAYER
};