ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

streaming video from a ros topic to a client browser

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

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
2

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

SL Remy gravatar image

You are possibly interested in the mjpeg_server.

edit flag offensive delete link more
2

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

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

Question Tools

1 follower

Stats

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

Seen: 4,185 times

Last updated: Oct 20 '12