robotcar-dataset-sdk icon indicating copy to clipboard operation
robotcar-dataset-sdk copied to clipboard

Timestamp resolution/conversion (ROS)

Open ashnarayan13 opened this issue 3 years ago • 0 comments

Hi,

I want to convert the timestamps provided into ROS time stamp format (seconds, nanoseconds)

But if I use a standard conversion using rospy from_seconds() throws error with the timestamps.

If I try to convert the timestamp to human readable date time using python time.ctime, I get strange dates Thu Jan 9 23:25:05 44368617 Fri Jan 10 04:58:15 44368617 Fri Jan 10 10:32:04 44368617 Fri Jan 10 16:06:19 44368617 Fri Jan 10 21:40:35 44368617 Sat Jan 11 03:14:47 44368617

Anyone else have issues with this? I would like to know the resolution of the timestamps so I can split it into seconds/microseconds from the unix timestamp provided.

ashnarayan13 avatar Jan 11 '22 10:01 ashnarayan13