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

answered 2011-12-05 13:24:20 -0500

joq gravatar image

Partial answer:

I had a similar problem for geographic_info. While I strongly prefer to maintain support for both distributions in a single source tree, ROS does not make that easy.

In my case, the cleanest solution was to drop the direct dependency on bullet, and use the equivalent tf types instead. That may not work for you. It might help that C++ code can query the ROS version using pre-processor tests.

click to hide/show revision 2
clarify two different approaches

Partial answer:

I had a similar problem for geographic_info. While I strongly prefer to maintain support for both distributions in a single source tree, ROS does not make that easy.

In my case, the cleanest solution was to drop the direct dependency on bullet, and use the equivalent tf types instead. That may not work for you. It everyone.

If the tf types do not meet your needs, it might help that for your C++ code can to query the ROS version using pre-processor tests.. Unfortunately, I know of no way to hide the bullet dependency differences in manifest.xml. As a tick-tock measure, maybe we should keep an empty bullet package around for Fuerte with just a rosdep for the system library.