diff --git a/doc/index.rst b/doc/index.rst index 4dcd72e..83319fc 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -125,6 +125,11 @@ Chat After launching start_bridge.launch, let's open http://localhost:%PORT_OF_YOURCHOICE%/roswww/chat.html with a browser in two windows. Once you send a message from one of the windows, the message will be shown in both windows. +Gamepad(Joy) +-------------- + +After launching start_bridge.launch and connect a gamapad to the PC/tablet on which you open a browser, let's open http://%HOSTNAME%:%PORT_OF_YOURCHOICE%/roswww/browser_joy.html?wsaddress=%HOSTNAME%&wsport=%WEBSOCKET_PORT% with a browser. '/joy' topic will be published when you push buttons on the gamepad. + Basic Authentication ==================== diff --git a/www/browser_joy.html b/www/browser_joy.html new file mode 100644 index 0000000..f4e0b8d --- /dev/null +++ b/www/browser_joy.html @@ -0,0 +1,106 @@ + + + + + + +