[openrtm-users 03073] Re: Is RTC::TimedStringSequence to bytestream conversion a well defined function?

Geoffrey Biggs geoffrey.biggs @ aist.go.jp
2014年 7月 23日 (水) 22:05:23 JST


Hi Attila,

It will be easier to investigate the behaviour you are seeing if you can 
provide an example.

Geoff

On Wed, 23 Jul 2014 13:53:37 Attila Bernáth wrote:
> Dear All,
> 
> 
> I have the following problem. I generate some RTC::TimedStringSequence
> data (say a1), then I serialize it into a byte stream (say b1) using
> the cdrMemoryStream API. Then I convert this bytestream b1 back to a
> RTC::TimedStringSequence variable (say a2): all is fine, the content
> of a1 and that of b1 is the same as far as I can judge. But if I
> convert a2 into a bytestream b2 again, then b1 and b2 differ
> sometimes. Is this possible?
> 
> Valgrind says that some uninitialized memory area is copied into the
> bytestreams: is this OK?
> 
> I can put together some minimal example, if needed.
> 
> Attila
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users



More information about the openrtm-users mailing list