Hi Wenshan,<div><br></div><div>I'm not sure I understand your question. Do you want to control components (activation, connecting ports, etc.) without using RTSystemEditor?</div><div><br></div><div>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.</div>
<div><br></div><div>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:</div>
<div><br></div><div><a href="http://www.omg.org/spec/RTC/">http://www.omg.org/spec/RTC/</a></div><div><br></div><div>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:</div>
<div><br></div><div><a href="https://github.com/gbiggs/rtctree">https://github.com/gbiggs/rtctree</a></div><div><br></div><div>Geoff<br><br><div class="gmail_quote">On 21 May 2012 22:24, shanshan1370 <span dir="ltr"><<a href="mailto:shanshan1370@sina.com" target="_blank">shanshan1370@sina.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>



<div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt">
<div><font face="Verdana">Dear Sir:</font></div>
<div> </div>
<div>
<div>I'm trying to control my RT-components with my Java programs in the place of RTSystem-Editor.</div>
<div>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.</div>
<div>Since there is a simple example "SimpleIO" in the package, I can already make basic operations such as active\deactive\connect RT-Components.</div>
<div>Besides that example, there is an API that is in html format, which is too brief for me to understand.</div>
<div>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?</div>
<div> </div>
<div></div>
<div>Thanks in advance!</div>
<div>Wenshan</div></div>
<div><font face="Verdana"></font> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2012-05-21 
</font></div><font face="Verdana">
<hr style="WIDTH:122px;min-height:2px" align="left" size="2"><span class="HOEnZb"><font color="#888888">

<div><font color="#c0c0c0" face="Verdana"><span>shanshan1370</span> 
</font></div></font></span></font></div>
<br>_______________________________________________<br>
openrtm-users mailing list<br>
<a href="mailto:openrtm-users@openrtm.org">openrtm-users@openrtm.org</a><br>
<a href="http://www.openrtm.org/mailman/listinfo/openrtm-users" target="_blank">http://www.openrtm.org/mailman/listinfo/openrtm-users</a><br>
<br></blockquote></div><br></div>