Is rospy.get_time() same as rostime? Getting different rate of msg publication
When a rostopic's publishing rate says 30Hz,am I right in assuming that it is publishing 30 messages -per second
I am storing kinect data(Image attached) by naming it as its time stamping obtained using rospy.get_time(). Shouldn't I be storing 30 RGB images per second? I seem to have only 3-4 messages within a span of second.
You are correct in your assumption that it publishes 30 messages a second (to be sure you can check with
rostopic hz /topicname)
. I think your issue might be with subscribing node (take into account that saving files takes time, and queue length is limited). Can you share your code?