Ask Your Question

streaming video from a ros topic to a client browser

asked 2012-10-19 18:14:41 -0500

robzz gravatar image

I want to stream live data from my robot to the internet.

Right now I have a ROS node communicating with a webcam and publishing Image/CompressedImage data. The robot needs this data to follow lines/recognize obstacles. I'm trying to figure out how to have the data be sent to show up in a browser in realtime video. I'm not sure on the best way to go about this.

I could have the computer running ROS also be running a server, copying jpeg/png CompressedImage data to a file, then have a client connect to that server to periodically poll for the image and update its page to simulate video..

Is there a more common/better approach?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-20 15:23:43 -0500

SL Remy gravatar image

You are possibly interested in the mjpeg_server.

edit flag offensive delete link more

answered 2012-10-19 20:52:59 -0500

Mani gravatar image

There is a package named ros_bridge that has been designed to be used in project like yours. In the PR2 Remote Lab project, they implemented such web-based video broadcasting. I think in this paper, there are some more technical information about video streaming using ros_bridge.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-10-19 18:14:41 -0500

Seen: 3,335 times

Last updated: Oct 20 '12