Thank you very much Rich

On 16 June 2012 02:26, Rich Mattes <jpgr87@gmail.com> wrote:
On 06/12/2012 06:37 PM, Gonzalo Fernando Perez Paina wrote:
> Hi all,
> I was trying to figuring out how to obtain the timestamp of messages
> in the client side.
> The situation is as follows. I was working on implementing EKF
> localization using logged data from simulation in Stage.
> The logged data are obtained processing the log file which always has
> timestamp for each message (sensor reading).
> Now, I am trying to run the algorithms in real-time (first with Stage
> and later in a real robot), but I don't know how to get the timestamp
> of messages in the client side.
> I read the documentation of Player to see if the Read() method of
> client object allows to obtain a timestamp, but I couldn't find the way.
> Can someone please point me out how can I get the timestamp?
> Thanks in advance.
> Gonzalo.

Hi Gonzalo,

You can use the GetDataTime() function[1] to get the timestamp
corresponding to the data stored in any PlayerC++ ClientProxy.

Rich

[1]
http://playerstage.sourceforge.net/doc/Player-svn/player/classPlayerCc_1_1ClientProxy.html#ae5fc04494560ddc7b14678d1d79916b5

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
Gonzalo F. Perez Paina
Centro de Investigación en Informática para la Ingeniería, CIII.
Universidad Tecnológica Nacional. Facultad Regional Córdoba.
Maestro M. López esq. Cruz Roja Argentina. CP X5016ZAA
gperez@scdt.frc.utn.edu.ar