mirror of
https://github.com/Jieshoudaxue/ros_senior.git
synced 2026-08-29 08:34:43 +08:00
21 lines
609 B
XML
21 lines
609 B
XML
<?xml version="1.0" ?>
|
|
<robot name="mbot" xmlns:xacro="http://www.ros.org/wiki/xacro">
|
|
|
|
<xacro:macro name="laser" params="joint_x joint_y joint_z">
|
|
<joint name="laser_joint" type="fixed">
|
|
<origin xyz="${joint_x} ${joint_y} ${joint_z}" rpy="0 0 0" />
|
|
<parent link="stage_link"/>
|
|
<child link="laser_link" />
|
|
</joint>
|
|
|
|
<link name="laser_link">
|
|
<visual>
|
|
<origin xyz="0 0 0" rpy="0 0 0" />
|
|
<geometry>
|
|
<cylinder length="0.05" radius="0.05"/>
|
|
</geometry>
|
|
<material name="grey"/>
|
|
</visual>
|
|
</link>
|
|
</xacro:macro>
|
|
</robot> |