Skip to content

Commit 976f9f3

Browse files
committed
make use of non-gpu laser by default update min/max range to fix ghost objects (#27)
1 parent 54fa731 commit 976f9f3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

diffbot_description/urdf/diffbot.urdf.xacro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363

6464
<!-- Sensors -->
6565
<xacro:laser prefix="rplidar" parent_link="base_link"
66-
sensor_prop="${sensor_prop}">
66+
sensor_prop="${sensor_prop}"
67+
enable_gpu="${sensor_prop['laser']['enable_gpu']}">
6768
</xacro:laser>
6869

6970
<!-- Gazebo -->

diffbot_description/urdf/include/common_sensors.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
</horizontal>
7676
</scan>
7777
<range>
78-
<min>0.10</min>
79-
<max>30.0</max>
78+
<min>0.12</min>
79+
<max>12.0</max>
8080
<resolution>0.01</resolution>
8181
</range>
8282
<noise>

0 commit comments

Comments
 (0)