diff --git a/config/nav2_params.yaml b/config/nav2_params.yaml index 5c25ba9..8e516b0 100644 --- a/config/nav2_params.yaml +++ b/config/nav2_params.yaml @@ -541,7 +541,7 @@ local_costmap: max_obstacle_height: 2.0 unknown_threshold: 4 mark_threshold: 2 - observation_sources: oak-d + observation_sources: oak-d rplidar combination_method: 1 oak-d: # no frame set, uses frame from message topic: /stereo/points @@ -554,6 +554,16 @@ local_costmap: clearing: True marking: True data_type: "PointCloud2" + rplidar: + topic: /scan + max_obstacle_height: 2.0 + clearing: True + marking: True + data_type: "LaserScan" + raytrace_max_range: 8.0 # was 3.0 + raytrace_min_range: 0.0 + obstacle_max_range: 2.5 + obstacle_min_range: 0.0 static_layer: plugin: "nav2_costmap_2d::StaticLayer" map_subscribe_transient_local: True