Error when converting xacro into urdf when using roslaunch

asked 2014-10-01 04:01:54 -0500

priyalparab gravatar image

I've been working with ros indigo and need to use Gazebo,I am trying to spawn a robot as per this link

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/", line 60, in <module> xacro.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/", line 653, in main processincludes(doc, os.path.dirname(args[0])) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/", line 270, in processincludes raise XacroException("included file \"%s\" could not be opened: %s" % (filename, str(e))) xacro.XacroException: included file "/home/priyal/catkinws/src/mybotdescription/urdf/wheel.urdf.xacro" could not be opened: [Errno 2] No such file or directory: '/home/priyal/catkinws/src/mybotdescription/urdf/wheel.urdf.xacro' Invalid tag: Cannot load command parameter [robotdescription]: command [/opt/ros/indigo/share/xacro/ '/home/priyal/catkinws/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..

edit retag flag offensive close merge delete