[openrtm-users 02537] Re: Is there any specific documentation or example ablout Java API of openRTM?

Geoffrey Biggs geoffrey.biggs @ aist.go.jp
2012年 5月 23日 (水) 09:14:27 JST


Hi Wenshan,

I'm not sure I understand your question. Do you want to control components
(activation, connecting ports, etc.) without using RTSystemEditor?

If so, you need to use the introspection API. This is separate from the
component API that examples such as SimpleIO demonstrate. The introspection
API is used to control components externally and operators via CORBA
interfaces in OpenRTM.

Because there are very few users who use this API, we haven't yet produced
comprehensive documentation on it. The best source of documentation is the
RT-Component Specification, available here:

http://www.omg.org/spec/RTC/

We don't have any explicit examples of how to use this API. However, if you
can read Python, then you can look at the rtctree library to see how all of
the API is used:

https://github.com/gbiggs/rtctree

Geoff

On 21 May 2012 22:24, shanshan1370 <shanshan1370 @ sina.com> wrote:

> **
> Dear Sir:
>
>
> I'm trying to control my RT-components with my Java programs in the place of RTSystem-Editor.
>
> I'm doing this using OpenRTM-aist-1.0.0.jar which was provided by OpenRTM-for-java install package. I found this Java interface is perfict for my task but it is hard to master the usage.
>
> Since there is a simple example "SimpleIO" in the package, I can already make basic operations such as active\deactive\connect RT-Components.
>
> Besides that example, there is an API that is in html format, which is too brief for me to understand.
>
> What can I do if I want to learn to use some advanced fuctions such as finding zombie components, listing all the components and so on?
>
>  Thanks in advance!
> Wenshan
>
> 2012-05-21
> ------------------------------
> shanshan1370
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users
>
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20120523/fde33bb8/attachment-0001.html>


More information about the openrtm-users mailing list