yarpdataplayer timestamps not consistent

Created on 10 Jun 2019  路  4Comments  路  Source: robotology/yarp

Describe the bug
The same dataset dumped with yarpdatadumper played multiple time seems to be played with different timing, and in particular this time seems to be related with the computational work that the machine is doing.

Expected behavior
I would expect to be able to replay offline the same dataset with the real/same timestamp.

Screenshots
In particular I'm running this dataset , and the data are meant to be read from a consumer device (human state provider).
As you can see from the data, they were collected with both tx and rx time, so I have tried to play the data using one or the other, but the same behaviour seems to be present.
From the following screenshots you can see the different duration of the same dataset by checking the Time Taken coloumn in the yarpdataplayer interface (the same duration was double-checked with a clock):

  • yarpdataplayer --withExtraTimeCol 1

    • just playing the data

      Screen Shot 2019-06-10 at 16 54 34

    • data + consumer device

      Screen Shot 2019-06-10 at 16 57 42

  • yarpdataplayer --withExtraTimeCol 2

    • just playing the data

      Screen Shot 2019-06-10 at 16 58 58

    • data + consumer device

      Screen Shot 2019-06-10 at 17 00 18.

Configuration:

  • OS: MacOS 10.13.6
  • yarp version: 3.1.1+10-20190514.4+git96bad8480

@kouroshD

YARP v3.1.2 GUI - yarpdataplayer YARP v3.2.1 Bug Fixed

Most helpful comment

@Nicogene Yes, I had a f2f talk with @vvasco and I have started to look at it. It only happens with rxTime and not txTIme. I have collected a long dataset to try it out offline (thanks @vvasco )

All 4 comments

@drdanz @Nicogene may probably help us with this?

It seems a clock drifting, I will give a look to this. 馃憤
But maybe @vtikha , that is the author of yarpdataplayer, has some hints about what should be the problem here.

@Nicogene Yes, I had a f2f talk with @vvasco and I have started to look at it. It only happens with rxTime and not txTIme. I have collected a long dataset to try it out offline (thanks @vvasco )

Fixed by #2074

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diegoferigo picture diegoferigo  路  3Comments

drdanz picture drdanz  路  3Comments

xEnVrE picture xEnVrE  路  3Comments

CarlottaSartore picture CarlottaSartore  路  3Comments

Nicogene picture Nicogene  路  3Comments