[openrtm-users 00642] Re: rtc_handle.py:バグ回避版

Takashi Suehiro t.suehiro @ aist.go.jp
2008年 10月 23日 (木) 10:17:47 JST


栗原様、皆様、

産総研 末廣です。

kurihara shinji さんは書きました:
> データポートの接続のため、IOConnectorを生成するとの事ですが、
> IOConnector生成時にsubscription_typeは指定できないのでしょうか?

IOConnector生成時でしたら、

con = IOConnector([out, in],
prop_dict={'dataport.subscription_type':'Periodic'})

などとすれば可能です。

生成後も変更できるようにしたつもりだったのですが、
調べてみたら、そうなっていませんでした。
変更したものを、またhttp://staff.aist.go.jp/t.suehiro/rtm/に
uploadしておきました。この変更によって、生成後でも、

con.prop_dict['dataport.subscription_type']='Periodic'
con.nego_prop()

とすれば変更可能です。

-- 
Takashi Suehiro, Principal Research Scientist, Intelligent Systems
Research Institute, AIST
Tel: +81-29-861-5964 Fax: +81-29-861-5989 E-mail: t.suehiro @ aist.go.jp
1-1-1 Umezono, Tsukuba, Ibaraki 3058568, Japan




openrtm-users メーリングリストの案内