Skip to content

Commit 5ebd033

Browse files
committed
Rename lidar constant for convention
1 parent ce5f461 commit 5ebd033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

marvin_simulation/urdf/constants.xacro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<xacro:property name="wheel_z_offset" value="${1.8125*0.0254}"/>
3636

3737
<!-- Lidar Constants -->
38-
<xacro:property name="lidar_height" value="${32.55*0.0254}"/>
38+
<xacro:property name="lidar_z_offset" value="${32.55*0.0254}"/>
3939

4040
<!-- Camera Constants -->
4141
<xacro:property name="camera_angle" value="${10 * 0.01745327777}"/>

marvin_simulation/urdf/marvin.xacro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<!-- Lidar -->
5050
<xacro:include filename="$(find velodyne_description)/urdf/VLP-16.urdf.xacro" />
5151
<xacro:VLP-16 parent="base_link" name="velodyne" topic="/velodyne_points" hz="20" samples="440" gpu="true">
52-
<origin xyz="0 0 ${lidar_height}" rpy="0 0 0" />
52+
<origin xyz="0 0 ${lidar_z_offset}" rpy="0 0 0" />
5353
</xacro:VLP-16>
5454

5555

0 commit comments

Comments
 (0)