ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I don't think you can just connect your browser to a websocket server, you need a program that talks the websocket protocol. The server doesn't serve a http page, but wants to upgrade the connection to ws. A Javascript program running in a browser could be used to connect using websocket, see http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality
2 | No.2 Revision |
I don't think you can just connect your browser to a websocket server, you need a program that talks the websocket protocol. The server doesn't serve a http page, but wants to upgrade the connection to ws. A Javascript program running in a browser could be used to connect using websocket, see http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality
Edit: There is no ROS webbrowser, you can use a standard webbrowser. The Websocket Server is running under ROS. From the roslibjs Tutorial page: Running the Example starts with starting the Server and publishing messages, but the last 5 lines say: You can open the html file in the webbrowser (open file), or you could setup a Webserver (for html files) and serve this html-file to a webbrowser on a remote machine.
I haven't used rosbride yet, just a C++ Websocket library in a system that had nothing to do with ROS.
3 | No.3 Revision |
I don't think you can just connect your browser to a websocket server, you need a program that talks the websocket protocol. The server doesn't serve a http page, but wants to upgrade the connection to ws. A Javascript program running in a browser could be used to connect using websocket, see http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality
Edit: Edit:
There is no ROS webbrowser, you can use a standard webbrowser. The Websocket Server is running under ROS. From the roslibjs Tutorial page: Running the Example starts with starting the Server and publishing messages, but the last 5 lines say: You can open the html file in the a local webbrowser (open file), file) on the same machine, or you could setup a Webserver webserver (for html files) and serve this html-file to a webbrowser on a remote machine.
I haven't used rosbride yet, just a C++ Websocket websocket library in a system that had nothing to do with ROS.