在roslaunch运行的时候出现的问题解决:

Traceback (most recent call last):
File “/opt/ros/kinetic/lib/xacro/xacro”, line 33, in
xacro.main()
AttributeError: ‘module’ object has no attribute ‘main’
Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/lib/xacro/xacro --inorder ‘/home/ma/catkin_ws1/src/car-3/robot_description/urdf/car_body.urdf.xacro’] returned with code [1].

Param xml is
The traceback for the exception was written to the log file

Invalid tag: Cannot load command parameter [robot_description]:

解决方法:
1、
安装xacro文件
github地址:
https://github.com/ros/xacro/tree/kinetic-devel
http://wiki.ros.org/xacro
2、xacro文件写的有问题。

catkin_make编译以后重新运行roslaunch。

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-10-08
  • 2022-12-23
猜你喜欢
  • 2021-08-07
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2022-02-09
相关资源
相似解决方案