- 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
推薦閱讀
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程(第2版)
- Docker技術(shù)入門與實戰(zhàn)(第3版)
- Learning Spring 5.0
- 摩登創(chuàng)客:與智能手機(jī)和平板電腦共舞
- Mastering Articulate Storyline
- DevOps入門與實踐
- 新手學(xué)Visual C# 2008程序設(shè)計
- SQL Server 2016數(shù)據(jù)庫應(yīng)用與開發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- Learning Laravel's Eloquent
- Extending Puppet(Second Edition)
- SQL Server 2016 從入門到實戰(zhàn)(視頻教學(xué)版)
- TypeScript 2.x By Example
- Mockito Essentials
- Sails.js Essentials
- SCRATCH編程課:我的游戲我做主