Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 152

Gazebo: Invalid tag: Cannot load command parameter [robot_description]:

$
0
0
Hi. I'm using Ubuntu 14.04 ROS Indigo Gazebo2 I am quite new to ROS and Gazebo and I'm following this Tutorial link:[here](http://www.generationrobots.com/blog/en/2015/02/robotic-simulation-scenarios-with-gazebo-and-ros/). I did everything like in the tutorial, nut when I want to use roslaunch to launch my launchfile I get the following error: Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py /home/myuser/catkin_ws/src/mybot_description/urdf/mybot.xacro] returned with code [1]. Param xml is The traceback for the exception was written to the log file When I enter rosrun xacro xacro.py /home/myuser/catkin_ws/src/mybot_description/urdf/mybot.xacro I get Traceback (most recent call last): File "/opt/ros/indigo/share/xacro/xacro.py", line 62, in xacro.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 687, in main process_includes(doc, os.path.dirname(args[0])) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 269, in process_includes % (filename, str(e))) xacro.XacroException: included file "/home/myuser/catkin_ws/src/mybot_description/urdf/macros.xacro" generated an error during XML parsing: unbound prefix: line 2, column 0 My macro file looks like this And my mybot.xacro looks like this: Thanks for your help!

Viewing all articles
Browse latest Browse all 152

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>