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

Revision history [back]

click to hide/show revision 1
initial version

You seem confused about what rosbridge_server does. According to the wiki page, it creates a websocket that your browser (or other client) can connect to. With a websocket, you can NOT simply type a url into your browser and "see the page."

The usual approach is that you write javascript code, add the code to an html file, then you read that html file with your browser. The html file can be stored on the local disk, or you can read it from an http server that you run yourself. If written correctly, the javascript code inside the html file will make a connection to the rosbridge_server.

You seem confused about what rosbridge_server does. According to the wiki page, it creates a websocket that your browser (or other client) can connect to. With a websocket, websocket server, you can NOT simply type a the websocket url into your browser and "see the page."

The usual approach is that you write javascript code, add the code to an html file, then you read that html file with your browser. The html file can be stored on the local disk, or you can read it from an http server that you run yourself. If written correctly, the javascript code inside the html file will make a connection to the rosbridge_server.