官术网_书友最值得收藏!

Conversion of xacro to URDF

After designing the xacro file, we can use the following command to convert it into a UDRF file:

$ rosrun xacro xacro.py pan_tilt.xacro > pan_tilt_generated.urdf

We can use the following line in the ROS launch file for converting xacro to UDRF and use it as a robot_description parameter:

  <param name="robot_description" command="$(find xacro)/xacro.py $(find mastering_ros_robot_description_pkg)/urdf/pan_tilt.xacro" />

We can view the xacro of pan and tilt by making a launch file, and it can be launched using the following command:

$ roslaunch mastering_ros_robot_description_pkg view_pan_tilt_xacro.launch
主站蜘蛛池模板: 太原市| 遂宁市| 上蔡县| 全椒县| 剑川县| 彰化县| 镇雄县| 合作市| 石河子市| 阿图什市| 稷山县| 项城市| 诸暨市| 田阳县| 玉环县| 沐川县| 彭水| 阳城县| 万安县| 仪陇县| 工布江达县| 新竹县| 莱州市| 秦皇岛市| 嫩江县| 黄梅县| 富锦市| 阿克| 微博| 武川县| 库伦旗| 兰州市| 阳春市| 汝阳县| 富锦市| 陇西县| 平邑县| 土默特右旗| 兴仁县| 勃利县| 永安市|