robotology / robometry

Telemetry suite for logging data from your robot 🤖
https://robotology.github.io/robometry
Other
14 stars 9 forks source link

Added possibility to explicitly set the timestamp of a Record with push_back #131

Closed S-Dafarra closed 3 years ago

S-Dafarra commented 3 years ago

After a discussion with @prashanthr05, we realized that sometimes it is important to store data in different channels but with the same timestamp.

In principle, this would be possible by storing structs of data for example, but this is not currently supported. An easy workaround is to store all the data in separated vectors. On the other hand, to make sure that all the data is saved in a synchronized way, it is necessary to specify also the timestamp.

This may also be helpful when storing the data read from the yarp interfaces, saving the timestamp retrieved by the yarp interface, rather than the one obtained by the application.

S-Dafarra commented 3 years ago

I think I did a mistake when stashing and updating. Fixing it

S-Dafarra commented 3 years ago

Sorry for the multiple force-pushes: