[openrtm-users 00970] Re: fedora11 によるサンプルを使ってテストでのエラー

Masayuki Shimizu masayuki.shimizu @ aist.go.jp
2009年 10月 1日 (木) 00:46:34 JST


野中様

RTSysEdのバージョンは1.0.0でしょうか?
0.4.2用のRTSysEdだとコンポーネントが黒色になります。

清水

--- temporary_nonaka @ yahoo.co.jp wrote:

> 野中です.
> 回答有難うございます.
> 添付ファイルにあったConnectorCompをmakeして
> ConsoleInComp,ConsoleOutComp,ConnectorCompによる動作
は確認出来ました.
> 
> しかし,RTSystemEditorによるコンポーネント間の接続とコ
ンポーネントの状態
> 変更は今のところ出来ていません.なにか良い解決策はあり
ませんでしょうか?
> もしくは,RTSystemEditorの動作確認をする良いサンプルか
何かはありませんで
> しょうか?
> 
> --- kurihara shinji <shinji.kurihara @ aist.go.jp>
> wrote:
> 
> > 
> > 産総研 栗原です。
> > 
> > 不具合報告を頂き、有難うございます。
> > 
> >
> マニュアルの方に不備があり、ご迷惑をお掛け致しまして申
し訳ございません
>> > 
> >
> ご報告の通り、ConnectorCompはexampleパッケージに含まれ
ておりませんでし
> た。
> >
>
また、現在配布されておりますパッケージに含まれるConnectorCompExt
に関し
> まし
> > ても問題がありコンポーネント間の接続ができません。
> > 
> >
> ご報告頂きました内容に、「真っ黒なコンポーネントが出来
上がっただけ」と
> あり
> > ましたので、RTSystemEditorをご使用かと思います。
> >
>
ConnectorCompを使用しなくても、ConsoleInComp,ConsoleOutComp
の動作確認が
> 目的
> >
> でしたらRTSystemEditorにてコンポーネント間の接続とコン
ポーネントの状態
> 変更
> > は可能です。
> > 
> >
> RTSystemEditorの使用方法に関しましては下記を参照下さい
。
> > 
> >
>
http://www.is.aist.go.jp/rt/OpenRTM-aist/html/E3839EE3838BE383A5E382A2E383AB2FRTSystemEditor.html#a0c19b3a
> > 
> >
> 一応、ConnectorCompを添付させて頂いておりますので、添
付ファイルを解凍後
> に、
> > "make"してご使用頂ければ幸いです。
> >
> なお、ConsoleInComp,ConsoleOutCompを起動する際に指定す
るrtc.confファイ
> ルは
> > 添付のConnectorComp内にあるものをご使用下さい。
> > 
> > 
> > 以上、宜しくお願い致します。
> > 
> > 
> > On Wed, 30 Sep 2009 00:57:17 +0900 (JST)
> > <temporary_nonaka @ yahoo.co.jp> wrote:
> > 
> > > fedora11で
> > >
> >
>
http://openrtm.de/OpenRTM-aist/html/E3839EE3838BE383A5E382A2E383AB2FE382A4E383B3E382B9E38388E383BCE383ABUNIX.html#ef30b25e
> > >
> に書いてあるFedoraへのインストール,yumを使う方法を実
行しました.
> > > 
> > > インストールの確認
> > > [root @ localhost ~]# rpm -q OpenRTM-aist
> > > OpenRTM-aist-1.0.0-0.fc11.i386
> > > 
> > > ネームサーバの起動
> > > [root @ localhost ~]# rtm-naming 9876
> > > Starting omniORB omniNames:
> localhost.localdomain:9876
> > > 
> > > Wed Sep 30 00:19:32 2009:
> > > 
> > > Starting omniNames for the first time.
> > > Wrote initial log file.
> > > Read log file successfully.
> > > Root context is
> > >
> >
>
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000070000000010102000e0000003139322e3136382e312e3130300094260b0000004e616d6553657276696365000300000000000000080000000100000000545441010000001c000000010000000100010001000000010001
> > >
>
0509010100010000000901010003545441080000008425c24a01000c24
> > > Checkpointing Phase 1: Prepare.
> > > Checkpointing Phase 2: Commit.
> > > Checkpointing completed.
> > > 
> > > rtc.conf を作成し,配置.
> > > 
> > > ConsoleInCompの起動
> > > [root @ localhost ~]#
> /usr/share/OpenRTM-aist/examples/ConsoleInComp
> > -f
> > > ~/RTCwork/rtc.conf
> > > Creating a component: "ConsoleIn"....succeed.
> > >
> =================================================
> > >  Component Profile
> > >
> -------------------------------------------------
> > > InstanceID:     ConsoleIn0
> > > Implementation: ConsoleIn
> > > Description:    Console input component
> > > Version:        1.0
> > > Maker:          Noriaki Ando, AIST
> > > Category:       example
> > >   Other properties   
> > >
> =================================================
> > >
> =================================================
> > > Port0 (name): out
> > >
> -------------------------------------------------
> > > - properties -
> > > port.port_type: DataOutPort
> > > dataport.data_type: TimedLong
> > > dataport.subscription_type: flush,new,periodic
> > > dataport.dataflow_type: push
> > > dataport.interface_type: corba_cdr
> > >
> -------------------------------------------------
> > > 
> > > ConsoleOutCompの起動
> > > [root @ localhost ~]#
> /usr/share/OpenRTM-aist/examples/ConsoleOutComp
> > -f
> > > ~/RTCwork/rtc.conf
> > > succeed.
> > >
> =================================================
> > >  Component Profile
> > >
> -------------------------------------------------
> > > InstanceID:     ConsoleOut0
> > > Implementation: ConsoleOut
> > > Description:    Console output component
> > > Version:        1.0
> > > Maker:          Noriaki Ando, AIST
> > > Category:       example
> > >   Other properties   
> > >
> =================================================
> > >
> =================================================
> > > Port0 (name): in
> > >
> -------------------------------------------------
> > > - properties -
> > > port.port_type: DataInPort
> > > dataport.data_type: TimedLong
> > > dataport.subscription_type: Any
> > > dataport.dataflow_type: push,pull
> > > dataport.interface_type: corba_cdr
> > >
> -------------------------------------------------
> > > 
> > > ConnectorCompの起動
> > > [root @ localhost ~]#
> /usr/share/OpenRTM-aist/examples/ConnectorComp
> > > bash:
> /usr/share/OpenRTM-aist/examples/ConnectorComp:
> > そのようなファイル
> > > やディレクトリはありません
> > > 
> > >
> ConnectorCompが無かったのでConnectorCompExtを起動
> > > [root @ localhost ~]#
> > /usr/share/OpenRTM-aist/examples/ConnectorCompExt
> > > Subscription Type: 
> > > terminate called after throwing an instance of
> > > 'CosNaming::NamingContext::NotFound'
> > > アボートしました
> > > 
> > >
> >
> という状態で作業が止まっています.どのようにしたらよい
のでしょうか?
> > > 
> > >
> >
> 他にも同じページに書いてあるコンポーネントテンプレート
のテストも試して
>> > >
> ましたが,真っ黒なコンポーネントが出来上がっただけでし
た.
> 
> --------------------------------------
> Yahoo! JAPAN - Internet Security for teenagers and
> parents.
> http://pr.mail.yahoo.co.jp/security/


--------------------
Masayuki Shimizu
Assistant Professor
Dept. of Mechanical Engineering, Shizuoka Univ.
3-5-1, Johoku, Naka-ku, Hamamatsu 432-8561, JAPAN
TEL/FAX: +81-53-478-1061
Email: tmsimiz @ ipc.shizuoka.ac.jp



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