Ask Your Question
0

About ros_web_video and mjpeg_server

asked 2015-02-18 05:01:38 -0600

pexison gravatar image

updated 2015-02-18 09:43:43 -0600

Hello, I know that mjpeg_server is deprecated but for curiosity i was trying to use it whit a turtlebot, I ran the commands as it follows here Wiki for mjpeg and the webpage was loading and not showing the information of the kinect.

I ran:

$ roscore 
$ turtlebot_bringup minimal.launch
$ rosrun mjpeg_server mjpeg_server
$ rosrun rosbridge_server rosbridge_websocket

And then the page doesn't show something.

So I want to prove with the newest library form Robot Web Tools ros_web_video, and after installing it i don't know how to run it.

Any lights about this?

Thanks beforehand!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-18 07:39:08 -0600

rtoris288 gravatar image

mjpeg_server is replaced by web_video_server not ros_web_video (also deprecated). Is there some documentation error somewhere that pointed you to ros_web_video?

You can find documentation on web_video_server at https://github.com/RobotWebTools/web_... and it can be installed with sudo apt-get install ros-<DISTRO>-web-video-server (replacing <DISTRO> with your ROS distro that you are using. You can then run the package with rosrun web_video_server web_video_server and point your browser to http://localhost:8080/ to see the available topics.

edit flag offensive delete link more

Comments

Thanks for explainning this, now when I am subscribed to the web_video_server I see no image of the kinect and the browser (Firefox) shows the icon of a page with a 3 geometry figures. The browser say always Connecting and Transfering data from localhost... why could this happening?

pexison gravatar imagepexison ( 2015-02-18 09:05:33 -0600 )edit

About web_video_server: It is possible to use rosbridge while you're using it?

pexison gravatar imagepexison ( 2015-02-18 09:08:34 -0600 )edit
1

What is the URL you are trying to load the image from? Any yes, rosbridge and web_video_server run on different ports and are independent of each other.

rtoris288 gravatar imagertoris288 ( 2015-02-18 09:26:12 -0600 )edit

I am using this URL http://localhost:8080/stream_viewer?topic=web_video_sever

pexison gravatar imagepexison ( 2015-02-18 09:30:09 -0600 )edit
1

Topic should point to the actual ROS image topic, not the name of the node. Going to http://localhost:8080 should provide you with a list of available image topics which can be streamed.

rtoris288 gravatar imagertoris288 ( 2015-02-18 09:49:25 -0600 )edit

My mistake was that I forgot to create the camera topic,

$ rolaunch openni_launch openni.launch

and using /camera/rgb/image_rect_color

Thanks!

pexison gravatar imagepexison ( 2015-02-18 10:34:22 -0600 )edit

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

Stats

Asked: 2015-02-18 05:01:38 -0600

Seen: 2,727 times

Last updated: Feb 18 '15