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

Is multiple cameras views for mjpeg_server possible?

asked 2012-12-20 10:42:42 -0500

Atom gravatar image

updated 2012-12-20 10:46:24 -0500

I am trying to set up multiple camera views for tele-operation under mjpeg_server. I would like to utilize up to 4 cameras running on one machine simultaneously to be output to one webpage. Or possibly use uvc_camera to run the camera feeds into ros and use rosservice to set which camera outputs to mjpeg_server. Anyone running this type of setup or something similar, any advice would be appreciated. I have also tried using the options under gscam. But it only allows for 2 camera views in the same window and I was not able to get it working either.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-23 11:39:23 -0500

odestcj gravatar image

updated 2012-12-23 11:56:58 -0500

I assume a page can display 4 different image streams by including 4 img tags to the appropriate topics, which might look something like: "img src="http://localhost:8080/stream?topic=/robot/cameraN">"

I have not tried this yet for 4 image streams, but it should be easy to test.

edit flag offensive delete link more

Question Tools


Asked: 2012-12-20 10:42:42 -0500

Seen: 289 times

Last updated: Dec 23 '12