Robotics StackExchange | Archived questions

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 xacro.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/init.py", line 653, in main processincludes(doc, os.path.dirname(args[0])) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/init.py", 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/xacro.py '/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..

Asked by priyalparab on 2014-10-01 04:01:54 UTC

Comments

Answers