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 14:10:55 +07:00
parent 64974d48b7
commit 3b89add5ee
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
};