Ask Your Question

Cannot properly overlay eigen_conversions

asked 2015-06-03 17:48:39 -0500

gustavogoretkin gravatar image

updated 2015-06-04 08:39:43 -0500

I am on Groovy and I would like to overlay the package eigen_conversions[1]. If I do roscd eigen_conversions, I land in the correct directory: ~/gggroovy/geometry/eigen_conversions, my overlay. This indicates that my ROS_PACKAGE_PATH environment variable is correct, as far as I know. My ROS_PACKAGE_PATH indeed includes the path corresponding to my overlay, in addition to including at the end :/opt/ros/groovy/share:/opt/ros/groovy/stacks

However, when I do roscd eigen_conversions; rosmake, I see

[rosmake-7] Finished <<< eigen_conversions ROS_NOBUILD in package eigen_conversions

But there is no ROS_NOBUILD inside ~/gggroovy/geometry/eigen_conversions.

More importantly, when I try to build packages that depend on eigen_conversions, I get errors like

/opt/ros/groovy/include/eigen_conversions/eigen_kdl.h:66:6: error: in passing argument 2 of ‘void tf::vectorEigenToKDL(const Eigen::Matrix<double, 3, 1>&, KDL::Twist&)’

which indicate that the compiler is using the wrong include file, not the one in the overlay.

I have otherwise successfully done overlays.

[1 ]

edit retag flag offensive close merge delete


Please add which version of eigen_conversions you are trying to build. Even the groovy-devel version seems like it is a catkin package, so I'm not sure rosmake should do anything with it.

gvdhoorn gravatar image gvdhoorn  ( 2015-06-04 01:42:08 -0500 )edit

Ah, alright. I've included a link to the exact package I'd like to overlay, which is essentially groovy-devel.

Do you know what I can do to uncatkinize the package or make it otherwise be picked up by my system? I am using the PR2, and many packages I need are not catkinized.

gustavogoretkin gravatar image gustavogoretkin  ( 2015-06-04 08:44:53 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-06-04 12:31:00 -0500

ahendrix gravatar image

You should create a catkin workspace which overlays any system catkin packages (such as eigen_conversions), and then set up your rosbuild workspace as an overlay on top of that.

Section 3.3 of this tutorial does a decent job of describing the process in more detail.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-03 17:48:39 -0500

Seen: 122 times

Last updated: Jun 04 '15