quadruped_ros2_control/descriptions/deep_robotics/lite3_description/xacro/robot.xacro

25 lines
818 B
Plaintext
Raw Normal View History

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"/>
<xacro:arg name="CLASSIC" default="false"/>
2024-10-09 21:17:45 +08:00
<xacro:if value="$(arg GAZEBO)">
<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>