feat(depth): DepthCameraObstacleLayer replaces depth clearing in ObstacleLayer/VoxelLayer
Depth cameras now go through their own costmap layer instead of the frustum clearing that lived in ObstacleLayer and VoxelLayer. - Add DepthCameraObstacleLayer. It stores marked points per costmap column, clears stored points inside each camera frustum with a kd-tree check against the new cloud, keeps points outside the view, groups points with Euclidean clustering, and does not mark a 12 cm band at the frustum faces. - The layer follows the CostmapLayer contract: updateWithMax/Overwrite by combination_method, reset(), clearArea() with the usual invert semantics, footprint clearing, matchSize() and the layer mutex. So ClearCostmapRecovery and costmap resets work on it. - Add LayerType::DEPTH_CAMERA_LAYER, appended last so the existing values keep their numbers. The host's SensorGateway must dispatch PointCloud2 and DepthCameraData to it (move_base2 feature/depth-camera-layer-type). - Remove the frustum clearing code from Observation, ObservationBuffer, ObstacleLayer, VoxelLayer and costmap_2d_robot.cpp. - ObstacleLayer and VoxelLayer now reject a DepthCameraData source or frustum_clearing_enabled: true at startup, with a message that points to DepthCameraObstacleLayer. - Link PCL into the plugins library only. Add 21 unit tests for the layer (depth_camera_obstacle_layer_test). Squashed from feature/depth-observed-volume (2ca0bcc..40dc70e).
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>
|
||||
|
||||
<build_depend>libconsole-bridge-dev</build_depend>
|
||||
<build_depend>libpcl-all-dev</build_depend>
|
||||
<run_depend>libpcl-all</run_depend>
|
||||
<run_depend>libconsole-bridge-dev</run_depend>
|
||||
|
||||
<build_depend>robot_std_msgs</build_depend>
|
||||
|
||||
Reference in New Issue
Block a user