[Bug] Package names clash for arm_kinematics_constraint_aware
Looks like there is a name clash for package arm_kinematics_constraint_aware
as there are two packages with this name in both arm_navigation and kinematics stacks.
Not sure if it suppose to be the same code in both of them, but at the moment it is different and the one in arm_navigation
stack has a bug (see relevant question).
P.S. Could not find better place to post this as it's a cross-stack issue.
EDIT #1
arm_kinematics_constraint_aware
from arm_navigation
stack is actually pointing to a package in kinematics
stack. Probably it should be set up as a stack dependency then. However arm_navigation
contains the code for this packages as well.
So it might be a different bug (?)
Asked by Boris on 2012-09-20 19:41:16 UTC
Answers
Such a clash can easily happen. For example, if you have a stack/package installed via a debian package and additionally downloaded the source code in order to work on it.
Usually you resolve this issue by editing your ROS_PACKAGE_PATH to put the location of the package/stack first which you want to use.
Hence, I don't think this is a bug.
Asked by bit-pirate on 2012-09-20 19:59:28 UTC
Comments
Right, but clash between binary and source distribution of same package is a different story, isn't it?
Asked by Boris on 2012-09-20 20:30:05 UTC
Maybe I don't understand your problem correctly. What exactly did you install and how? If you installed the arm_navigation stack as a debian package and later download the kinematics stack as source, the package of the stack, which comes first in the ROS_PACKAGE_PATH should automatically be used.
Asked by bit-pirate on 2012-09-20 20:49:04 UTC
[Offtopic] Are you really in Korea? :-)
Asked by bit-pirate on 2012-09-20 20:53:27 UTC
I installed everything from sources as I am on Fedora. The arm_kinematics_constraint_aware
was installed together with other stuff in arm_navigation
stack by roslocate info arm_navigation | rosws merge -
.
Asked by Boris on 2012-09-20 21:06:09 UTC
But roslocate info arm_kinematics_constraint_aware | rosws merge -
will pull the code from kinematics
stack.
Asked by Boris on 2012-09-20 21:08:18 UTC
OK, so I played with rosws and roslocate for the first time (cool tools actually!) and set up a test workspace. I didn't get any errors using the commands above. What error/missbehaviour does your clash cause?
Asked by bit-pirate on 2012-09-20 22:39:10 UTC
Since you added arm_kinematics_constraint_aware from the kinematics stack at last, it becomes your new "default" package. If you want to change that, you could add arm_navigation as second or modify your ROS_PACKAGE_PATH by hand.
Asked by bit-pirate on 2012-09-20 22:41:01 UTC
Sorry for confusion. I didn't add anything from kinimatics
stack, I just noticed that it can be a problem for others if they checkout the package from a 'wrong' stack.
Asked by Boris on 2012-09-20 23:34:18 UTC
Btw, this confused me too.
The header on the wiki page:
http://ros.org/wiki/arm_kinematics_constraint_aware
is not pulling in the correct information for the Fuerte release, so it looks like there are two stacks available.
The old kinematics stack, which also contained arm_kinematics_constraint_aware was from Electric. Also there are some old links to packages at https://code.ros.org/svn/wg-ros-pkg/stacks/ so you might have downloaded an old release.
Asked by dbworth on 2012-11-24 00:28:44 UTC
Comments