2024-10-09 21:17:45 +08:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<robot name="lite3" xmlns:xacro="http://www.ros.org/wiki/xacro">
|
|
|
|
|
|
|
|
<xacro:include filename="$(find lite3_description)/xacro/body.xacro"/>
|
|
|
|
<xacro:include filename="$(find lite3_description)/xacro/transmission.xacro"/>
|
|
|
|
|
|
|
|
<xacro:arg name="GAZEBO" default="false"/>
|
2024-10-24 15:05:26 +08:00
|
|
|
<xacro:arg name="CLASSIC" default="false"/>
|
|
|
|
|
|
|
|
|
2024-10-09 21:17:45 +08:00
|
|
|
<xacro:if value="$(arg GAZEBO)">
|
2024-10-24 15:05:26 +08:00
|
|
|
<xacro:if value="$(arg CLASSIC)">
|
|
|
|
<xacro:include filename="$(find lite3_description)/xacro/gazebo_classic.xacro"/>
|
|
|
|
</xacro:if>
|
|
|
|
<xacro:unless value="$(arg CLASSIC)">
|
|
|
|
<xacro:include filename="$(find lite3_description)/xacro/gazebo.xacro"/>
|
|
|
|
</xacro:unless>
|
2024-10-09 21:17:45 +08:00
|
|
|
</xacro:if>
|
|
|
|
<xacro:unless value="$(arg GAZEBO)">
|
|
|
|
<xacro:include filename="$(find lite3_description)/xacro/ros2_control.xacro"/>
|
|
|
|
</xacro:unless>
|
|
|
|
|
|
|
|
</robot>
|