Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error when converting xacro into urdf when using roslaunch

I've been working with ros indigo and need to use Gazebo,I am trying to spawn a robot as per this link http://www.romin.upm.es/wiki/index.php?title=ROS%3ATutorials/Simulate_Your_Robot_in_Gazebo

or any other link for that matter. But after following it exactly as described i get an error:

Traceback (most recent call last): File "/opt/ros/indigo/share/xacro/xacro.py", line 60, in <module> xacro.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 653, in main process_includes(doc, os.path.dirname(args[0])) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 270, in process_includes raise XacroException("included file \"%s\" could not be opened: %s" % (filename, str(e))) xacro.XacroException: included file "/home/priyal/catkin_ws/src/mybot_description/urdf/wheel.urdf.xacro" could not be opened: [Errno 2] No such file or directory: '/home/priyal/catkin_ws/src/mybot_description/urdf/wheel.urdf.xacro' Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py '/home/priyal/catkin_ws/src/mybot_description/urdf/labrob.urdf.xacro'] returned with code [1].

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

this error comes when i execute the roslaunch command in the end. Gazebo works fine. roslaunch also works fine when I am launching an empty world. My basic need is to spawn a car and then teleop it from keyboard.. Any help would be appreciated. Thanks..