[openrtm-users 00169] ユーザ定義のデータ型について

2 posts / 0 new
Last post
root
Offline
Last seen: 1 day 7 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00169] ユーザ定義のデータ型について

中央大学の賀田です。
ご指摘のあったとおりにコンポーネントを作ってみたところ、
 
MyImagetype.idl:10: Error in look-up of
'RTC::Time': 'RTC' not foundomniidl: 1 error.make: ***
[MyImagetypeStub.h] エラー 1
 
というエラーがでました。
そこで、
 
struct Imagetype{  long
x;  long y[100];  float z;};
struct TimedImagetype{  //RTC::Time
tm;      ←コメントアウト  Imagetype
data;};
"RTC::Time tm;"をコメントアウトしたところコンパイルが通りました。
 
"RTC::Time tm;"は必要なのでしょうか。
一応僕が抱えていた問題は解決したように思えます。
 
 
 

Undefined
root
Offline
Last seen: 1 day 7 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00170] ユーザ定義のデータ型について

安藤です

一行忘れてました、

ImageType.idl
---------------------------------------
#include "BasicDataType.idl" この行を追加

struct Imagetype
{
long point_size;
long Send_Buf[3][10000];
long Image_New;
float address;
};

struct TimedImagetype
{
RTC::Time tm;
Imagetype data;
};
---------------------------------------

あと、メーリングリストでの返信は、新規のメールとしてではなく、
元のメールに返信という形でお願いいたします。
(話の流れがわかりにくくなるので。。。)

07/07/27 に 賀田寛夫さんは書きました:
>
> 中央大学の賀田です。
> ご指摘のあったとおりにコンポーネントを作ってみたところ、
>
> MyImagetype.idl:10: Error in look-up of 'RTC::Time': 'RTC' not found
> omniidl: 1 error.
> make: *** [MyImagetypeStub.h] エラー 1
>
> というエラーがでました。
> そこで、
>
> struct Imagetype
> {
> long x;
> long y[100];
> float z;
> };
>
> struct TimedImagetype
> {
> //RTC::Time tm; ←コメントアウト
> Imagetype data;
> };
> "RTC::Time tm;"をコメントアウトしたところコンパイルが通りました。
>
> "RTC::Time tm;"は必要なのでしょうか。
> 一応僕が抱えていた問題は解決したように思えます。
>
>

Log in or register to post comments

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