Ask Your Question
0

The meaning of the frequency value in rosbags

asked 2018-11-13 14:11:29 -0500

quantum gravatar image

updated 2018-11-13 14:13:16 -0500

Dear all,

i downloaded a rosbag from the internet and looked at the info of this file:

path:        ../raw/Vehicle1_velodyne_pos.bag
version:     2.0
duration:    36:10s (2170s)
start:       Aug 12 2015 09:22:18.17 (1439364138.17)
end:         Aug 12 2015 09:58:28.86 (1439366308.86)
size:        23.0 MB
messages:    152840
compression: none [29/29 chunks]
types:       tf/tfMessage [94810edda583a504dfda3829e70d7eec]
topics:      tf   152840 msgs @ 99.2 Hz : tf/tfMessage

As you can see, the topic __tf__ have 152840 messages and after that there is the number 99.2 Hz.

I computed:

 (end_time - start_time) / number of messages

and i got ca. 70 Hz.

What is the meaning of the number 99.2 Hz?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-11-14 02:17:53 -0500

Delb gravatar image

According to the wiki this is the median frequency. Since it's a median, the topic have received/published the same amount of messages at a faster and at a slower rate than 99,2hz. Your calculation is actually the mean rate of the topic. If the mean = median then you have a symetric distribution, here you have mean < median so it's a negatively skewed distribution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-11-13 14:11:29 -0500

Seen: 372 times

Last updated: Nov 14 '18