I'm new to ROS. My app was developed in Qt + OpenCV, it is cross-platform. It connectes to a camera and display both images and CAN signals from vehicle bus. Now I want to transfer the image and the CAN signal to a ROS system in real time. After googled for few hours, looks like there are few options:
Use ros_bridge: http://wiki.ros.org/rosbridge_suite This approach need a websocket and transfer data using JSON format. Requires ROS side run the bridge server. Then my qpp need to run a webbroswer and open the HTML page that uses websocket with roslibjs JavaScript library. I haven't figure out how to tranfer iamge object and how to receive on the ROS side. any help is appreciated.
I found this: http://wiki.ros.org/web_video_server but it is streaming images from ROS to a website via HTTP. It's the otherway around.
My question is which way is the best and fastest to implement support for transfer images to ROS?
I cannot use ROS-Qt-Plugin to re-compile my app since it is a way too big project that doesn't suit my situation.
Thanks for any help.