Ford / AVData

Autonomous Vehicle Seasonal Dataset
MIT License
293 stars 68 forks source link

Rosbag Timezone Information #17

Closed kevinsoucy closed 4 years ago

kevinsoucy commented 4 years ago

Hi,

In general, how do you handle timezone information in the Rosbag file format?

Do you store timezone information anywhere in the Rosbag files or are all timestamps local time depending on the origin of the trip or even the current position of the car?

Thanks! Kevin

ankitvora7 commented 4 years ago

@kevinsoucy The timestamps are epoch time in UTC time. E.g the first timestamp of the CENTER images of sample data is 1501822123109584 microseconds which is Friday, August 4, 2017 4:48:43.109 AM. Now, since the system clock drifts over time, this conversion is not very reliable (depending on what you're trying to do with it). The actual time when this data collection occurred was around 4:30 PM on August 4, 2017.

kevinsoucy commented 4 years ago

Hi @ankitvora7 , Thanks for the response, I wanted to do enrich the data with a lookup of the weather conditions at the various lat/long's and timestamps. I think if the timestamps are +/- 30 minutes, it is precise enough for my use case at the moment.