Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Semantics of `%time` timestamp in `rostopic echo -p` from bagfile?

$
0
0
When I print the topic data using `rostopic echo -p -b filename.bag /topic_name`, there are two timestamps in the output. One comes from the header of the message (third column: `field.header.stamp`), one comes from somewhere else (first column: `%time`). Both have slightly different values, e.g. * `%time`: 1552649896239792539 (2019-03-15 11:38:16.239793), * `field.header.stamp`: 1552649894321638000 (2019-03-15 11:38:14.321638) I didn't find documentation about the first timestamp `%time`. Is it assigned by rosbag to reflect the time of recording? In this case, this would indicate that the message was recorded almost two seconds after the timestamp in the header indicates. Would it be reasonable to make inferences about the latency on the topic like this?

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>