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

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
主站蜘蛛池模板: 兴仁县| 民和| 永福县| 阿克| 东丰县| 石渠县| 鄱阳县| 淮南市| 青冈县| 乌鲁木齐市| 含山县| 柘荣县| 阜康市| 阳谷县| 卢湾区| 社旗县| 长宁县| 沙湾县| 江永县| 天气| 南华县| 洛阳市| 焉耆| 洛阳市| 民乐县| 女性| 和平区| 吴忠市| 岚皋县| 江油市| 林芝县| 孟州市| 崇阳县| 天门市| 莱阳市| 微山县| 郎溪县| 涞水县| 香港| 紫金县| 延长县|