-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plain CMake packages don't get put on ROS_PACKAGE_PATH #143
Comments
Neither https://github.com/ros/ros/blob/indigo-devel/core/roslib/env-hooks/10.ros.sh.em#L11-L33 So if the plain CMake packages don't depend on and |
Except if these packages get installed, then they do end up on the source /opt/ros/hydro/setup.bash
sudo apt-get install ros-hydro-orocos-kdl
mkdir -p ws/src
git clone [email protected]:orocos/orocos_kinematics_dynamics.git ws/src/orocos_kinematics_dynamics
cd ws
catkin build
source devel/setup.bash
roscd orocos_kdl
pwd # /opt/ros/hydro/share/orocos_kdl This can be really confusing since this catkin workspace is supposed to overlay the previous ones. I understand that this is because |
Based on the example you give, I would call that an inconsistency with I would actually prefer |
This would make sense. It would be nice if we could resolve these inconsistencies.
That statement appears really strange to me. |
Especially if you take it out of context 😛. I go on to say that would say that plain CMake packages would not be considered ROS packages ever, which is a constraint that is technically unnecessary and poorly defined at the moment. Then I also say that what it really means to be a ROS package is that you depend on Maybe a more declarative list will illustrate my perspective better:
One slightly better check would be for We can discuss the merits of any of the above bullets, but hopefully that's a little clearer than my last post. |
I would also say that for ROS 2, I have a plan to fix this, which also removes the need for the https://github.com/wjwwood/package_resource_indexer It might be something we could roll out into ROS 1, but I don't have plans to in the near term. Basically the definition of a ROS package on the file system would be anything that installs both a |
Currently, if you build a plain CMake package with a
package.xml
file and<build_type>cmake</build_type>
, that package doesn't get put on theROS_PACKAGE_PATH
after sourcing the result space.Is this by design, or is it an oversight?
The text was updated successfully, but these errors were encountered: