- Mastering ROS for Robotics Programming
- Lentin Joseph
- 80字
- 2021-07-30 10:03:25
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
推薦閱讀
- PWA入門與實踐
- 數(shù)據(jù)庫系統(tǒng)教程(第2版)
- Software Testing using Visual Studio 2012
- 算法精粹:經典計算機科學問題的Java實現(xiàn)
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應用教程
- Groovy for Domain:specific Languages(Second Edition)
- Spring實戰(zhàn)(第5版)
- 概率成形編碼調制技術理論及應用
- C語言課程設計
- Unity UI Cookbook
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- Node.js區(qū)塊鏈開發(fā)
- 現(xiàn)代CPU性能分析與優(yōu)化
- Java Hibernate Cookbook