[openrtm-users 00662] コマンドライン版rtc-templateでの不具合

1 post / 0 new
root
Offline
Last seen: 1 day 7 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00662] コマンドライン版rtc-templateでの不具合

OpenRTMユーザーの皆様

お世話になっております。
産総研 栗原です。

この度、OpenRTM-aist-0.4.2版のコマンドライン版rtc-templateにおきまして
下記の不具合が発見されました。

<不具合>
rtc-templateのデータポートに関するオプションにて、データ
タイプに"::"を使用した場合、下記のようなエラーが発生する。

$ sh gen.sh
Traceback (most recent call last):
File "/usr/bin/rtc-template", line 932, in ?
main()
File "/usr/bin/rtc-template", line 906, in main
data = {'basicInfo': CreateBasicInfo(opts),
File "/usr/bin/rtc-template", line 582, in CreateDataPorts
sys.stderr("Invalid option: " \
TypeError: 'file' object is not callable

なお、データタイプに"::"を使用する場合とは、下記のようにユーザー
定義型をデータポートで使用する場合です。

// file: MyDataType.idl
module MyData
{
struct MyDataType
{
sequence data;
};
};

# file: gen.sh
rtc-template -bcxx \
--module-name=sample --module-type='DataFlowComponent' \
--module-desc='sample component' \
--module-version=1.0 --module-vendor='AIST' \
--module-category=example \
--module-comp-type=DataFlowComponent --module-act-type=SPORADIC \
--module-max-inst=10 \
--outport=out:MyData::MyDataType

InPortやサービスポートに関しても同様のエラーが発生致しますので、コマ
ンドライン版のrtc-templateをご使用の方は、添付のrtc-templateをインス
トール済みのrtc-templateと置き換えて下さい。

Linux環境でのrtc-templateは/usr/binや/usr/local/binにインストールさ
れているかと思います。

お手数をお掛けしますが、宣しくお願い致します。

Undefined

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK