1.解决No link elements found in urdf file问题
2.sart@sart-Lenovo-S41-70:~$ roslaunch smartcar_description smartcar_display.rviz.launch
… logging to /home/sart/.ros/log/0d2e56ee-e5a8-11ea-9feb-54ee75633e82/roslaunch-sart-Lenovo-S41-70-29361.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
No such file or directory: /home/sart/catkin_ws/src/smartcar_description/urdf/smartcar.urdf.xacro [Errno 2] No such file or directory: ‘/home/sart/catkin_ws/src/smartcar_description/urdf/smartcar.urdf.xacro’
Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py ‘/home/sart/catkin_ws/src/smartcar_description/urdf/smartcar.urdf.xacro’] returned with code [2].
Param xml is
The traceback for the exception was written to the log file
##报错
3.
[ERROR] [1599116079.059180744]: No link elements found in u

本文档介绍了在ROS环境下遇到'No link elements found in urdf file'错误时的解决方法。错误源于找不到指定的urdf.xacro文件,通过新建工作空间,将文件复制并执行rosmake和catkin_make命令,成功解决了问题。
最低0.47元/天 解锁文章
4258

被折叠的 条评论
为什么被折叠?



