<html><head></head><body>Hi Weshan,<br>
<br>
At the moment, the best tool we have for doing what you want is rtshell. It is implemented as a set of modules for functions such as making connections and activating components. You can import the modules you need from the rtshell library and call them; see the scripts that are also provided with rtshell (which are normally called from the command line) for examples. We have a few users using rtshell in this way to do what you are trying to do, including from GUI tools and command line tools. It provides quite a high level interface.<br>
<br>
We also provide a library called rtctree. This is what rtshell uses internally. It provides an abstraction of the runing components, allowing them to be searched, connected, etc. It is not as high-level an interface as rtshell, but it provides more flexibility.<br>
<br>
If rtshell and rtctree are not suitable, the alternative is to use the CORBA interfaces specified in the RTC specification. You can find examples of doing this in the OpenRTM examples and in the rtshell source. These interfaces give you complete dynamic control over components, but you will need some CORBA experience.<br>
<br>
Geoff<br><br><div class="gmail_quote">shanshan1370@sina.com wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">Hello, everyone: I'm designing a network robot system with openRTM-AIST. It's<br />very important to have the rt-components connect/discnnect and<br />activate/inactivate dynamically in our own program. It can be easily realized<br />by RtsystemEditor, however, we would like to realize it in our own control<br />program, say, a java or c++ program without graphical user interface. I have<br />searched for days but didn't get any documentation or example on this feild.<br />Would you please give me some advice on this, or some links to docs and<br />examples? Thank you very much! Wenshan<br /><br /><hr /><br />openrtm-users mailing list<br />openrtm-users@openrtm.org<br /><a href="http://www.openrtm.org/mailman/listinfo/openrtm-users">http://www.openrtm.org/mailman/listinfo/openrtm-users</a><br /></pre></blockquote></div></body></html>