issues
search
OpenRTM
/
OpenRTP-aist
OpenRTP-aist: RT-Middleware and OMG RTC based component and system development tools implemented by AIST
Other
1
stars
6
forks
source link
openrtp2スクリプトで環境変数RTM_ROOTを設定するように修正
#538
Closed
n-kawauchi
closed
3 months ago
n-kawauchi
commented
3 months ago
521 での修正不具合対応
この時の修正は、C++版、Java版がインストールされていない環境でも openrtp2 コマンドで起動することを目指した
このため、環境変数RTM_ROOTとRTM_JAVA_ROOTの設定処理を外した
RTM_ROOTの定義を外したことで、C++版、Java版がインストールされている環境でRTCBで新規RTC作成時、データ型一覧リストが表示されない
Description of the Change
RTM_ROOTの設定を復活させた
rtm2-configを利用し、RTM_ROOTに /usr/include/openrtm-2.0 をセット
ただし、rtm2-configがインストールされていない環境でもopenrtp2で起動できるようにした (rtm2-configがインストールされていない環境はRTSEとしてのみ使用を想定)
RTM_JAVA_ROOTはopenrtm2-javaのインストール時に環境変数として設定されるため、openrtp2スクリプト内での定義は不要のため復活させてない
今回の修正で、debパッケージのバージョンを 2.0.2-1 へ更新
Verification
OpenRTPの各2.0.2-1版debパッケージをテスト用パッケージリポジトリに配置し、aptでインストール
OpenRTPのみ(他のOpenRTMパッケージがインストールされていない)のUbuntu20.04環境で、openrtp2コマンドで起動できることを確認
OpenRTPを含むOpenRTMパッケージ全てをインストールしているUbuntu22.04環境で、openrtp2コマンドで起動し、RTCBでC++、JavaのRTCを作成できることを確認(データポート定義時データ型一覧は表示される)
[x] Did you succeed the build?
[x] No warnings for the build?
[ ] Have you passed the unit tests?
521 での修正不具合対応
Description of the Change
Verification