This commit is contained in:
Björn Ellensohn 2023-07-31 12:40:12 +02:00
parent f8017b54a2
commit 79bd85876d

View File

@ -79,25 +79,25 @@
<joint name="chassis_joint" type="fixed">
<parent link="base_link"/>
<child link="chassis"/>
<origin xyz="${-wheel_offset_x} 0 ${-wheel_offset_z}"/>
<origin xyz="0 0 ${-wheel_offset_z}"/>
</joint>
<link name="chassis">
<visual>
<origin xyz="${chassis_length/2} 0 ${chassis_height/2}"/>
<origin xyz="0 0 0"/>
<geometry>
<box size="${chassis_length} ${chassis_width} ${chassis_height}"/>
</geometry>
<material name="orange"/>
</visual>
<collision>
<origin xyz="${chassis_length/2} 0 ${chassis_height/2}"/>
<origin xyz="0 0 0"/>
<geometry>
<box size="${chassis_length} ${chassis_width} ${chassis_height}"/>
</geometry>
</collision>
<xacro:inertial_box mass="0.5" x="${chassis_length}" y="${chassis_width}" z="${chassis_height}">
<origin xyz="${chassis_length/2} 0 ${chassis_height/2}" rpy="0 0 0"/>
<origin xyz="0 0 0" rpy="0 0 0"/>
</xacro:inertial_box>
</link>