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

How to install thirdparty library to a filesystem prefix

asked 2013-01-16 05:06:28 -0500

AdrianPeng gravatar image

updated 2013-01-16 05:06:53 -0500

Hello,

I want to use a python library provided by Gumstix Robovero in ROS.

I looked through the Using ThirdPartyLibraries and I guess I may need to Wrapping External Library. In Wrapping External Library, It says "for ROS Fuerte(and Groovy I guess), the best practice is to no longer wrap thirdparty libraries and instead install to a filesystem prefix using catkin". I am using Groovy right now, but I am not very familiar with catkin and actually I don't understand filesystem prefix. For Wrapping External Library, I know the basic idea is to create a ROS package that compiles the third-party library code and makes it available using rosbuild's dependency system. But in Groovy, how can I install thirdparty libraries to a filesystem prefix?

Thanks in advance!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-16 07:02:01 -0500

tfoote gravatar image

The recommended solution is to use bloom

There's a tutorial at the bottom for releasing "non-catkin" libraries.

edit flag offensive delete link more
0

answered 2013-01-16 05:28:35 -0500

dornhege gravatar image

Install to filesystem prefix basically means: Install independent from ROS/as you normally would.

The idea is to just use the library in your ROS packages as you would in any other program instead of making it into a ROS package first, i.e. use the library as a library and don't ROSify it. It is OK to make a ROS interface package that wraps the library function calls in ROS messages/services linking to the library.

edit flag offensive delete link more

Comments

Thanks for your reply. Is there a tutorial about how to install to filesystem prefix?

AdrianPeng gravatar image AdrianPeng  ( 2013-01-16 06:06:09 -0500 )edit

That would depend on your external library... the library itself would have to have support for and directions for installing to a user-selected prefix.

Eric Perko gravatar image Eric Perko  ( 2013-01-16 06:13:09 -0500 )edit

Question Tools

Stats

Asked: 2013-01-16 05:06:28 -0500

Seen: 1,210 times

Last updated: Jan 16 '13