4.1.3 Альтернативное использование /base_footprint frame.
<parameter name="ground_clearance" value="0.025" />
<!-- The base xacro macro -->
<macro name="base" params="name color">
<link name="${name}_link"> <visual>
<origin xyz="0 0 ${ground_clearance}" rpy="0 0 0" />
<geometry>
<box size="${base_size_x} ${base_size_y} ${base_size_z}" />
</geometry>
<material name="${color}" />
</visual>
<collision>
<origin xyz="0 0 ${ground_clearance}" rpy="0 0 0" />
<geometry>
<box size="${base_size_x} ${wheel_offset_y*2 + wheel_length} $
{base_size_z}" />
</geometry>
</collision>
</link>
</macro>Last updated