Through this guide, you will learn to connect to the robot via WebRTC, in order to exploit the following features:

The pieces

Three packages from the robot software will be used:

A few key concepts


WebRTC is an open standard for real-time communication for browsers and other mobile applications. It is supported by most modern browsers, such as Firefox and Chrome.

The standard defines protocols and APIs to establish peer-to-peer connections, potentially through an intermediary.


In order for a WebRTC connection to be established between two peers, a third-party communication mechanism is needed to exchange the needed pieces of information needed by each peer to connect to the other. This is called signaling.

On the robot, there are two signaling mechanisms:

Tutorial: using a web browser to connect to my Kuri

The following steps have to be run from a development environment connected to the same network as Kuri. The following has been tested with recent versions of Firefox and Chrome.

  1. checkout the code:
    git clone https://github.com/KuriRobot/kuri-documentation
  2. run the local server
    cd kuri-documentation/examples/webrtc
    python3 -m http.server
  3. open a browser window and point it to http://localhost:8000
  4. get the UUID of your robot by running the following command on the robot
  5. enter the hostname and the robot UUID in the webpage and click the Join button
  6. you should see what the robot sees, and a text box will appear

Extra steps: the rosbridge protocol

The text box that appeared enables you to send commands and receive responses to and from the robot via the rosbridge protocol.