Difference in rostopic hz and fps of a camera
Hi all, I am using turtlebot3 burger in which I'm using a rasp camera v2 attached to the Raspberry Pi with raspicam_node and a Host PC where I run my image processing nodes. Therefore, I need to transfer the captured raw images via wireless network. I am experimenting with different resolutions and frame rates at the moment to find out which is the most effective way. However, I have a doubt about the way I validate my results. I am using rostopic hz in my raspberry pi to find out the publishing rate of the camera, which is around 35-40 FPS for 1280x720 and doing the same thing in my local pc in which I get very different results like 1-2 hz to 10-15 hz. I know that this might be about the network but my question is, when I get 1-2 hz as a result of rostopic hz, I launch rqt_image_view and somehow the displayed capture does not look like 1-2 FPS but higher. So I am wondering if there is a better way to validate regarding the frame rate I receive from the subscriber, other than rostopic hz. Thanks in advance