Actions
機能 #4203
openマスターマネージャから多言語のRTC(スレーブマネージャ)が起動できる
Start date:
09/25/2017
Due date:
% Done:
100%
Estimated time:
Description
マスターマネージャからC++、pythonのスレーブマネージャー(rtcd、rtcd_python)を経由してRTCを起動できるようにする。
Files
Updated by katami over 7 years ago
get_loadable_modulesの動作確認¶
c++版、python版のSimpleIOのパスを rtcd_java.conf の manager.modules.load_path に設定しておく。
manager.modules.load_path:/usr/local/share/openrtm-1.2/components/python/SimpleIO/
マスターマネージャの起動。
$ rtcd_java -d
openrtp(RTSE)のManagerControlViewのLoadableModulesボタンをクリックすると、他言語のロード可能なRTCが表示されることを確認する
get_loadable_modulesの動作確認(Windows)¶
マスターマネージャの起動。
C:\Program Files\OpenRTM-aist\1.1.2\jar>set CLASSPATH=.;./rtcd.jar;./OpenRTM-aist-1.2.0.jar;./commons-cli-1.1.jar C:\Program Files\OpenRTM-aist\1.1.2\jar>java rtcd.rtcd -d
Createの動作確認¶
c++版、python版のSimpleIOのパスを rtcd_java.conf の manager.modules.load_path に設定しておく。
manager.modules.load_path:/usr/local/share/openrtm-1.2/components/python/SimpleIO/
マスターマネージャの起動。
$ rtcd_java -d
python版のConsoleOutを生成
$ rtmgr /localhost/ubuntu.host_cxt/manager.mgr -c RTC:::ConsoleOut:Python:
C++版のConsoleOutを生成
$ rtmgr /localhost/ubuntu.host_cxt/manager.mgr -c RTC:::ConsoleOut:C++:
rtlsで生成を確認
$ rtls /localhost/ubuntu.host_cxt/ -l - - - - - manager.mgr Inactive 1/0 1/0 0/0 0/0 ConsoleOut0.rtc
Createの動作確認(Windows)¶
c++版、python版のSimpleIOのパスを rtcd_java.conf の manager.modules.load_path に設定しておく。
manager.modules.load_path:C:\\Program Files\\OpenRTM-aist\\1.1.2\\Components\\Python\\Examples\\SimpleIO
マスターマネージャの起動。
C:\Program Files\OpenRTM-aist\1.1.2\jar>set CLASSPATH=.;./rtcd.jar;./OpenRTM-aist-1.2.0.jar;./commons-cli-1.1.jar C:\Program Files\OpenRTM-aist\1.1.2\jar>java rtcd.rtcd -d -f ./rtcd_java.conf
python版のConsoleOutを生成
>set RTCTREE_NAMESERVERS=localhost >rtmgr /localhost/OPENRTM93F7.host_cxt/manager.mgr -c RTC:::ConsoleOut:Python:
C++版のConsoleOutを生成
>set RTCTREE_NAMESERVERS=localhost >rtmgr /localhost/OPENRTM93F7.host_cxt/manager.mgr -c RTC:::ConsoleOut:C++:
rtlsで生成を確認
>rtls localhost/OPENRTM93F7.host_cxt -l - - - - - manager.mgr Inactive 1/0 1/0 0/0 0/0 ConsoleOut0.rtc
Updated by katami over 7 years ago
- File managercontrolview.png managercontrolview.png added
Updated by katami over 7 years ago
- Target version set to RELEASE_1_2_0
- % Done changed from 0 to 100
Updated by katami over 7 years ago
- Related to 整備 #4272: rtcprof_javaをexe化する added
Actions