エラーメッセージ

  • Warning: file_put_contents(temporary://filen6JpwB): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed file_unmanaged_save_data() (/var/www/html/openrtm/includes/file.inc ファイル 2024行).
  • ファイルを作成できませんでした。
  • Warning: file_put_contents(temporary://fileHipgqE): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed file_unmanaged_save_data() (/var/www/html/openrtm/includes/file.inc ファイル 2024行).
  • ファイルを作成できませんでした。

How to connect and activate rt-components dynamically?

3 個の投稿 / 0 new
最終投稿
Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
How to connect and activate rt-components dynamically?

Hello, everyone:

I'm designing a network robot system with openRTM-AIST. It's very important to have the rt-components connect/discnnect and activate/inactivate dynamically in our own program. It can be easily realized by RtsystemEditor, however, we would like to realize it in our own control program, say, a java or c++ program without graphical user interface. I have searched for days but got very few documentation or example on this feild, and still don't know how to code this. Would you please give me some advice on this, or some links to docs and examples?

Thank you very much!

Wenshan

 

英語
gbiggs
オフライン
Last seen: 6年 9ヶ月 前
登録日: 2010-08-02 07:51
[openrtm-users 02375] How to connect and activate rt-components

Hi Weshan,

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.

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.

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.

Geoffshanshan1370@sina.com wrote:

Hello, everyone: I'm designing a network robot system with openRTM-AIST. It'svery important to have the rt-components connect/discnnect andactivate/inactivate dynamically in our own program. It can be easily realizedby RtsystemEditor, however, we would like to realize it in our own controlprogram, say, a java or c++ program without graphical user interface. I havesearched for days but didn't get any documentation or example on this feild.Would you please give me some advice on this, or some links to docs andexamples? Thank you very much! Wenshanopenrtm-users mailing listopenrtm-users@openrtm.orghttp://www.openrtm.org/mailman/listinfo/openrtm-users

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
[openrtm-users 02375] How to connect and activate rt-components

gbiggs:

Thank you very much for your detailed advice! I believe it will help a lot. Thank you again for your kindness and patience!

Wenshan

コメントを投稿するにはログインまたはユーザー登録を行ってください

ダウンロード

最新バージョン : 2.0.1-RELESE

統計

Webサイト統計
ユーザ数:2198
プロジェクト統計
RTコンポーネント307
RTミドルウエア35
ツール22
文書・仕様書2

Choreonoid

モーションエディタ/シミュレータ

OpenHRP3

動力学シミュレータ

OpenRTP

統合開発プラットフォーム

産総研RTC集

産総研が提供するRTC集

TORK

東京オープンソースロボティクス協会

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク