Fixed camera pose
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
<xacro:property name="lidar_height" value="0.02"/>
|
||||
<xacro:property name="lidar_xoff" value="0.09"/>
|
||||
|
||||
<xacro:property name="camera_xoff" value="0.07369"/>
|
||||
<xacro:property name="camera_zoff" value="0.16664"/>
|
||||
<xacro:property name="camera_pitch" value="${-105 * pi/180}"/>
|
||||
|
||||
<xacro:property name="base_zoff" value="${-wheel_zoff + wheel_radius + base_height/2}"/>
|
||||
|
||||
<link name="base_link">
|
||||
@@ -39,6 +43,9 @@
|
||||
|
||||
<link name="base_footprint"/>
|
||||
|
||||
<link name="camera" />
|
||||
|
||||
|
||||
<link name="lidar">
|
||||
<visual>
|
||||
<geometry>
|
||||
@@ -56,6 +63,12 @@
|
||||
<origin xyz="${-wheel_xoff} 0.0 ${base_zoff}" rpy="0 0 0"/>
|
||||
</joint>
|
||||
|
||||
<joint name="camera_base_joint" type="fixed">
|
||||
<parent link="base_footprint"/>
|
||||
<child link="camera"/>
|
||||
<origin xyz="${camera_xoff} 0 ${camera_zoff}" rpy="${camera_pitch} 0 ${-pi/2}"/>
|
||||
</joint>
|
||||
|
||||
<joint name="lidar_joint" type="fixed">
|
||||
<parent link="base_link"/>
|
||||
<child link="lidar"/>
|
||||
|
||||
Reference in New Issue
Block a user