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:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user