|
From: Alex D. <ale...@gm...> - 2014-09-11 09:12:39
|
Hello,
I have the following problem with my IDL file .
The file has a structure inside a structure and looks like this :
************************************************************************
module Metadata {
#pragma DCPS_DATA_TYPE "Metadata::Geospatial"
#pragma DCPS_DATA_KEY "Metadata::Geospatial sensor_id"
struct coordinates {
string description;
string uom;
float value;
} ;
struct Geospatial {
string sensor_id;
long epsg;
coordinates x_axis, y_axis, z_axis;
};
};
**************************************************************************
Now, I have a C++ publisher application and a C++ subscriber
application that when they use the datatype above they work fine. The
problem starts when I'm trying to use a Java subscriber with the C++
publisher. The publisher seems to work fine, but the Java subscriber
application crashes when it calls the take_next_sample(); function. Do
you have any idea what may be the reason ?
Thanks a lot,
Alex
|