小车移动报错Invalid <param> tag:

在运行ROS的gazebo模拟时遇到Invalid `<param>` tag错误,问题源于`xacro`模块缺失。解决方法包括从github下载并安装xacro文件,通过一系列的目录操作和命令行指令完成安装。确保正确执行每个步骤后,使用`xacro`命令检查安装是否成功。
摘要由CSDN通过智能技术生成

sart@sart-Lenovo-S41-70:~$ roslaunch gazebotest my_move_roboot.launch
… logging to /home/sart/.ros/log/b1b1351e-dd7f-11ea-b1aa-54ee75633e82/roslaunch-sart-Lenovo-S41-70-9065.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.

Traceback (most recent call last):
File “/opt/ros/indigo/share/xacro/xacro.py”, line 62, in
xacro.main()
AttributeError: ‘module’ object has no attribute ‘main’
Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py ‘/home/sart/catkin_ws/src/gazebotest/src/gazebotest/urdf/my_move_robot.xacro’] returned with code [1].

Param xml is
The traceback for the exception was written to the log file
sart@sart-Lenovo-S41-70:~/catkin_ws$ cd

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值