Hi Dr. Ando and Geoff:<br>Thank you for the explanation!<br>I was wondering why I couldn't find the setTimestamp() function in any place in the OpenRTm source code. <br>Now I know !<br><br>Thanks<br>Tony<br><br><br><br>
<div class="gmail_quote">On 28 September 2010 14:19, Geoffrey Biggs <span dir="ltr"><<a href="mailto:geoffrey.biggs@aist.go.jp">geoffrey.biggs@aist.go.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 28/09/10 10:09, Tony Kuo wrote:<br>
> Hi all,<br>
> I am using CameraImage for my image processing components,<br>
> I noticed that the time value in the cameraImage is not updated when an<br>
> image is sent out.<br>
><br>
> As I am not as familiar with the openrtm structure as some of you<br>
> I was wondering, what's the best way to incorporate time into the<br>
> CameraImage datatype?<br>
><br>
> Should I do it manually similarly to how it's done in void<br>
> setTimestamp(DataType& data) in outport.h?<br>
<br>
</div></div>You can do it manually if you want to set it to something special, but,<br>
as Dr Ando mentioned, setTimestamp() is the easy way.<br>
<br>
We don't set it automatically any more as there are numerous ways in<br>
which a time stamp may be set - and some data ports may not need time<br>
anyway, or use a different format for it.<br>
<br>
Geoff<br>
<br>
</blockquote></div><br>