How to send Video Stream over network and convert to Image_raw topic.
I am sending a JSON containing the base64 encoded image over ROS Bridge WebSockets in the Image_compressed format. Reference - thttp://docs.ros.org/kinetic/api/sensor_msgs/html/msg/CompressedImage.html
On the Server side, the client is being connected, but with a warning : Could not process Inbound Connection : topic types does not match - [Sensor_msgs/Image]. What is the correct format to send a video feed to ROS and convert in into Image Topic?
Did you try writing a client for your stream to convert image to cv::Mat and then use cvBridge to publish the images? This sounds very convoluted, but it works
Yeah I did, I actually resolved the issue. I had to send base64 through Unity client to the rosbridge server. On the client side I changed the format and it worked, though sending base64 as image still remains an issue. We can send it as a String message too for a quick workout.