- 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
推薦閱讀
- DevOps for Networking
- 數據結構(Java語言描述)
- The React Workshop
- Mastering Swift 2
- Azure Serverless Computing Cookbook
- R Data Science Essentials
- Offer來了:Java面試核心知識點精講(框架篇)
- jMonkeyEngine 3.0 Beginner’s Guide
- Mobile Test Automation with Appium
- C++ Data Structures and Algorithm Design Principles
- TensorFlow+Keras深度學習算法原理與編程實戰
- Procedural Content Generation for Unity Game Development
- web2py Application Development Cookbook
- Java 8實戰
- Python算法設計與分析