Project

General

Profile

Actions

機能 #4203

open

マスターマネージャから多言語のRTC(スレーブマネージャ)が起動できる

Added by katami over 7 years ago. Updated over 7 years ago.

Status:
担当
Priority:
通常
Assignee:
katami
Start date:
09/25/2017
Due date:
% Done:

100%

Estimated time:

Description

マスターマネージャからC++、pythonのスレーブマネージャー(rtcd、rtcd_python)を経由してRTCを起動できるようにする。


Files

managercontrolview.png (80.2 KB) managercontrolview.png katami, 10/04/2017 10:10 AM

Related issues 1 (1 open0 closed)

Related to OpenRTM-aist (Java) - 整備 #4272: rtcprof_javaをexe化する新規katami10/18/2017

Actions
Actions #1

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

Actions #2

Updated by katami over 7 years ago

  • File managercontrolview.png added
Actions #3

Updated by katami over 7 years ago

Actions #4

Updated by katami over 7 years ago

  • File deleted (managercontrolview.png)
Actions #5

Updated by katami over 7 years ago

  • Target version set to RELEASE_1_2_0
  • % Done changed from 0 to 100
Actions #6

Updated by katami over 7 years ago

  • Related to 整備 #4272: rtcprof_javaをexe化する added
Actions

Also available in: Atom PDF