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

move_arm_warehouse package

asked 2012-05-29 04:37:10 -0600

ocli gravatar image

updated 2012-06-03 06:29:57 -0600

Kevin gravatar image

I've rebuilt ros from sources completely and I don't think it's my installation, but the python script in the move_arm_warehouse package


uses the following code

directoryName = roslib.packages.is_pkg_dir(robotName + "_arm_navigation")

which gives the following error

Traceback (most recent call last):
  File "./scripts/", line 16, in <module>
    if(not roslib.packages.is_pkg_dir(directoryName)):
AttributeError: 'module' object has no attribute 'is_pkg_dir'

anyone else had this problem? is the stack arm_navigation_experimental depreciated to something or not yet updated... or have I don't something wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-29 06:06:30 -0600

ocli gravatar image

updated 2012-05-31 17:00:37 -0600

It seems ROS is planning on phasing out roslib, and leaning toward rospkg, must have missed this one. Anyway the fix is is_pkg_dir has been depreciated to get_pkg_dir - I just edited the script

edit flag offensive delete link more


Did you log a bug for this?

sedwards gravatar image sedwards  ( 2012-05-30 04:56:28 -0600 )edit

I'll be releasing a fix into fuerte shortly...

egiljones gravatar image egiljones  ( 2012-05-31 05:55:02 -0600 )edit

I will asap

ocli gravatar image ocli  ( 2012-05-31 17:01:06 -0600 )edit

Question Tools


Asked: 2012-05-29 04:37:10 -0600

Seen: 270 times

Last updated: May 31 '12