操作
バグ #3907
完了idlcompile.batでIDLファイルが足りない問題
開始日:
2017/02/08
期日:
進捗率:
100%
予定工数:
説明
PythonのRTCを作成する際に、idlcompile.batに必要なIDLファイルが記述されていないことがある。
例えば、ManipulatorCommonInterface_MiddleLevel.idlを利用する場合にはManipulatorCommonInterface_DataTypes.idlをインクルードしてあるため、ManipulatorCommonInterface_DataTypes.idlのコンパイルも必要だが、idlcompile.batには以下のようにManipulatorCommonInterface_MiddleLevel.idlしか記述されない事がある。
%f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"C:\workspace\idl" idl/ManipulatorCommonInterface_MiddleLevel.idl
以前に生成したコードではManipulatorCommonInterface_DataTypes.idlも記述されていたのですが、発生する条件がよく分かっていません。
n.kawauchi さんがほぼ8年前に更新
- r677をJenkinsジョブでビルドした「eclipse442-openrtp120v20170213-win32-x86_64.zip」を使っての動作確認 ・・・下記内容でOKでした
- python RTCを新規作成し、rtmManipulatorのサービスポートを追加。コンシューマ(Required)のポート。
- IDLファイルはManipulatorCommonInterface_Common.idlを指定
- これにて、idlconpile.bat .sh には ManipulatorCommonInterface_Common.idl 以外にManipulatorCommonInterface_DataTypes.idlも記述されている
操作