- 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
推薦閱讀
- 流量的秘密:Google Analytics網站分析與優化技巧(第2版)
- Game Programming Using Qt Beginner's Guide
- 程序員修煉之道:通向務實的最高境界(第2版)
- SQL Server從入門到精通(第3版)
- jQuery炫酷應用實例集錦
- 零基礎Java學習筆記
- Visual C#.NET Web應用程序設計
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- Python大學實用教程
- Kotlin極簡教程
- SAS編程演義
- 軟件設計模式(Java版)
- Responsive Web Design with jQuery
- 深入理解MySQL主從原理
- The Python Apprentice