[openrtm-users 03149] Re: openRTM-1.1.0 vc10で、「コンポーネントを作ってみる」でrtc-template.pyでsyntax error

宮本晴美 h8892-miyamoto @ aist.go.jp
2015年 1月 5日 (月) 10:25:30 JST


成田様

産総研のテクニカルスタッフの宮本です。

rtc-template.pyで起きるエラーの件ですが、
ご報告までにお時間がかかりそうです。

また、
RTCコンポーネントはRTCBuilder (OpenRTM-aist1.1.0と一緒にインストール済)でも作成できます。
以下のページを参考に試してみてください。

画像処理コンポーネントの作成 (OpenRTM-aist-1.1, CMake, VC2010)
( http://www.openrtm.org/openrtm/ja/node/4625 )

よろしくお願いいたします。

宮本晴美

------------------------------------------------------------
産業技術総合研究所 知能システム部門
ディペンダブルシステム研究グループ
宮本晴美  h8892-miyamoto @ aist.go.jp
------------------------------------------------------------


2014年12月30日 12:11 成田雅彦 <narita-masahiko @ aiit.ac.jp>:

> 原様、関係者の皆様、
>
> いつもお世話になっています。
>
> openRTM-1.1.0 vc10で、「コンポーネントを作ってみる」で
> ケーススタディーをやろうとしました。
>http://www.openrtm.org/openrtm/ja/node/185を参考にしています)
>
> コード生成のbatを作って実行すると、
> rtc-template.py -bcxx^
>  --module-name=ConsoleOut^
>  --module-type='DataFlowComponent'^
>  --module-desc='Console output component'^
>  --module-version=1.0 --module-vendor='MyName'^
>  --module-category=example^
>  --module-comp-type=DataFlowComponent^
>  --module-act-type=SPORADIC^
>  --module-max-inst=10 --inport=in:TimedLong --config="multiply:int:1"
> 以下のようにエラーになります
>
> G:\TRobotProject\src\sample1>rtc-template.py -bcxx
> --module-name=ConsoleOut --mo
> dule-type='DataFlowComponent' --module-desc='Console output component'
> --module-
> version=1.0 --module-vendor='MyName' --module-category=example
> --module-comp-typ
> e=DataFlowComponent --module-act-type=SPORADIC --module-max-inst=10
> --inport=in:
> TimedLong --config="multiply:int:1"
>   File "C:\Program Files
> (x86)\OpenRTM-aist\1.1\utils\rtc-template\rtc-template.
> py", line 268
>     """
>       ^
> SyntaxError: invalid syntax
>
>
> 検索 http://openrtm.org/openrtm/ja/search/
> で見てみましたが、類似のものは無いようなので、質問させていただきます。
>
> どうぞよろしくお願いいたします。
>
> 成田
>
>
> PS1:
> 環境は、
> - windows8.1でvc10はインストール済み
> - openRTM-1.1.0 vc10をインストール済
> - http://www.openrtm.org/openrtm/ja/node/850 の内容は動作確認済です。
> PS2:
> 以下でやっても、同様の、syntax errorがでます。
> rtc-template.py -bcxx^
>  --module-name=MRCConvertor --module-desc="Convertor component for
> MobileRobot component"^
>  --module-version=1.0.0 --module-vendor=AIST --module-category=Category^
>  --module-comp-type=DataFlowComponent --module-act-type=PERIODIC^
>  --module-max-inst=1^
>  --inport=velFromInput:TimedFloatSeq^
>  --outport=velToWheel:TimedFloatSeq
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20150105/ab713872/attachment.html>


More information about the openrtm-users mailing list