ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I would suggest an alternative way of bringing video data to the browser - http://wiki.ros.org/web_video_server
There is a few benefits:
<img>
tag (in your case <img src="http://localhost:8080/stream?topic=/cam1/image_raw&type=ros_compressed"/>
)2 | No.2 Revision |
I would suggest an alternative way of bringing video data to the browser - http://wiki.ros.org/web_video_serverhttp://wiki.ros.org/web_video_server. That is, you will not have subscription to /cam1/image_raw/compressed
topic but rather start web_video_server on ROS side and reference video stream in your HTML page like so:
`<img src="http://localhost:8080/stream?topic=/cam1/image_raw&type=ros_compressed"/>`
There is a few couple benefits:
<img>
tag (in your case <img src="http://localhost:8080/stream?topic=/cam1/image_raw&type=ros_compressed"/>
)3 | No.3 Revision |
I would suggest an alternative way of bringing video data to the browser - http://wiki.ros.org/web_video_server. That is, you will not have subscription to /cam1/image_raw/compressed
topic but rather start web_video_server on ROS side and reference video stream in your HTML page like so:
`<img src="http://localhost:8080/stream?topic=/cam1/image_raw&type=ros_compressed"/>`
<img src="http://localhost:8080/stream?topic=/cam1/image_raw&type=ros_compressed"/>
There is a couple benefits: