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

独自のデータ型を使用する場合に、RTCBuilderでコード生成ボタンを押してもコード生成されずエラーメッセージも表示されない場合がある #487

Closed Nobu19800 closed 1 year ago

Nobu19800 commented 2 years ago

Describe the bug 独自のIDLファイルを使用して独自データ型をもつRTCを作成する場合に、RTC Builderでコード生成ボタンを押してもコード生成されずエラーメッセージも表示されない場合がある。

To Reproduce Steps to reproduce the behavior:

  1. 以下のように全ての行の先頭にスペースの入ったIDLファイルを用意する

    // @file MyDataType.idl
    #include "BasicDataType.idl"
    
    struct MyData
    {
    RTC::Time tm;
    short shortVariable;
    long longVariable;
    sequence<double> data;
    };
  2. 上記のIDLファイルのMyData型を指定してデータポートを設定する
  3. コード生成ボタンを押す
  4. See error

Reproducibility 100%

Expected behavior

Screenshots or Logs

Environment

Additional context