Why does not my image_transport ROS application work with UDP?
I am developing a robotic application that sends raw stereo images (computer A) using the image_transport library. Another application receives them (computer B) and synchronizes the stereo pairs and camera infos. This application has always worked perfectly using the default transport hints.
Today I changed the transport layer from TCPROS to UDPROS, and now the receiver node only gets the camera infos, but not the frames. I tried changing the datagram size, the connection technology (Wifi, Gigabit...) and the computers, without any success. The smallest frame size I tested was 320x240 and the send rate was also changed to 1 Hz.
When both nodes are executed in the same computer (e.g. computer A), everything works perfectly, so I suspect that it is not a programming issue.
Any ideas? Thank you in advance