ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
[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, resourceing devel/setup.bash and then trying again will make things work.

[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, resourceing 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?