Required Internet Speed for Publishing two Video Streams over ROS network
I have two machines connected to each other via ROS. One of the machines has two cameras running on it. The feed from these cameras is being published over ROS. When I try to see the images in the other machine via rqt_image_view there is a lag of seconds. My network's upload speed is 3.08 Mbps and download speed is 90 Mbps. How much is the recommended upload speed to get the video feed working without any lag? Thank you!
without knowing something about the cameras used and the configuration of those cameras your question cannot be answered.
What resolution? How many fps? What bit depth? Colour? Black-and-white? Is compression OK? Lossy or lossless? Etc.
@gvdhoorn I use usb_cam package to launch the cameras. I modified the launch file, so that it launches two cameras instead of one. The parameters in the launch file I set are as following (for both the cameras):
image_width = 640 image_height = 480 pixel_format = mjpeg camera_frame_id = yuyv io_method = mmap
Please let me know if you need any other onfo. Thanks for the help!