[rospack] Error: package 'AR2urdf' not found
This is the cause of the Error retrieving file
errors you are getting.
Looking at your package manifest I know why:
<package>
<name>AR2urdf</name>
<version>1.0.0</version>
<description>
<p>URDF Description package for AR2urdf</p>
<p>This package contains configuration data, 3D models and launch files
for AR2urdf robot</p>
</description>
<author>me</author>
<maintainer email="me2email.com" />
<license>BSD</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roslaunch</build_depend>
<run_depend>robot_state_publisher</run_depend>
<run_depend>rviz</run_depend>
<run_depend>joint_state_publisher</run_depend>
<run_depend>gazebo</run_depend>
<export>
<architecture_independent />
</export>
</package>
Look at the email
attribute of the maintainer
element: me2email.com
is not a valid email address.
If I ask catkin_tools
to list the pkgs in a workspace with just your package, I get this:
Error: The directory /catkin_ws/src contains an invalid package. See below for details:
Invalid email "me2email.com" for person ""
Warning: Catkin package name "AR2urdf" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, and underscores.
Correcting the email address immediately solves this.
I'm pretty sure correcting your email address, rebuilding your workspace, resource
ing devel/setup.bash
and then trying again will make things work.
Edit: you must have seen errors while building your workspace. If I do not correct the email address and try to run catkin_make
, I get this:
Base path: /catkin_ws
Source space: /catkin_ws/src
Build space: /catkin_ws/build
Devel space: /catkin_ws/devel
Install space: /catkin_ws/install
WARNING: Catkin package name "AR2urdf" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, and underscores.
Invalid email "me2email.com" for person ""
It doesn't even try to build the package.
Which setup.bash
file did you source in your workspace?
The easiest way to help you would be to show us your package. If you can upload it to github or some other service someone can take a look.
As to the error you show: that is a generic error telling you that for some reason, the resource retriever library can't find a pkg by that name. Have you ..
.. build your workspace and done a
source /path/to/catkin_ws/devel/setup.bash
before trying to start any launch files (or load your urdf in some other way)?Ive built my workspace and run the setup.bash as you point out. I think I have it all setup correctly but ROS and linux are new to me. Ive had so many requests-comments about ROS im trying to learn this quickly. I placed the urdf file created by SW2URDF to the project repository here:
https://github.com/Chris-Annin/AR2 thank you for your help btw
you cannot 'run it'. You must use
source /path/to/catkin_ws/devel/setup.bash
.correct - I entered the command
source /home/chris/catkin_ws/devel/setup.bash
Ok. And after you've done that, what is the output of
rospack find AR2urdf
?[rospack] Error: package 'AR2urdf' not found