[openrtm-users 01421] Re: The best way to incorporate time into CameraImage datatype

Tony Kuo ikuo005 @ aucklanduni.ac.nz
2010年 9月 28日 (火) 12:34:19 JST


Hi Dr. Ando and Geoff:
Thank you for the explanation!
I was wondering why I couldn't find the setTimestamp() function in any place
in the OpenRTm source code.
Now I know !

Thanks
Tony



On 28 September 2010 14:19, Geoffrey Biggs <geoffrey.biggs @ aist.go.jp>wrote:

> On 28/09/10 10:09, Tony Kuo wrote:
> > Hi all,
> > I am using CameraImage for my image processing components,
> > I noticed that the time value in the cameraImage is not updated when an
> > image is sent out.
> >
> > As I am not as familiar with the openrtm structure as some of you
> > I was wondering, what's the best way to incorporate time into the
> > CameraImage datatype?
> >
> > Should I do it manually similarly to how it's done in void
> > setTimestamp(DataType& data) in outport.h?
>
> You can do it manually if you want to set it to something special, but,
> as Dr Ando mentioned, setTimestamp() is the easy way.
>
> We don't set it automatically any more as there are numerous ways in
> which a time stamp may be set - and some data ports may not need time
> anyway, or use a different format for it.
>
> Geoff
>
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20100928/c378e283/attachment-0001.html>


openrtm-users メーリングリストの案内