Re: [ros-users] Using rospack's C++ API

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: Re: [ros-users] Using rospack's C++ API
You should use the roslib package API instead:

http://www.ros.org/doc/api/roslib/html/c++/namespaceros_1_1package.html

<http://www.ros.org/doc/api/roslib/html/c++/namespaceros_1_1package.html>
Josh

On Fri, Oct 29, 2010 at 3:18 PM, Peter Soetens <>wrote:

> Since more and more Orocos components are ros packages, we'd like to
> support them in our deployment process. Orocos requires an
> 'import("packagename")' statement in order to be able to use a
> component. We could then import that package's components + the
> components of all its dependencies (we store components in
> "packagename/lib/orocos" )
>
> Against the advise of rospack's documentation, I'd like to make use of
> rospack's C++ API. In particular, the ROSPack::get_pkg(string)
> function in order to get the path to a package and its dependencies. I
> understand that I'm acting on my own responsibility, but I'd like to
> let you know that we're building tooling around it nevertheless.
>
> There is only one issue with my cturtle .deb / Ubuntu 10.04
> installation: rospack.h includes "tinyxml-2.5.4/tinyxml.h" while it
> should include "tinyxml/tinyxml.h". So it doesn't compile. I have no
> idea where it came from, but probably the packaging caused this ?
>
> Is there a possibility to add a symlink in the tinyxml package or fix
> the include ?
>
> Thanks,
> Peter
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>