update joystick README for webjoystick (#24413)

pull/24415/head
Jason Young 3 years ago committed by GitHub
parent 043a309d67
commit 0771addd14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      tools/joystick/README.md

@ -45,6 +45,17 @@ In order to use a joystick over the network, we need to run joystickd locally fr
tools/joystick/joystickd.py tools/joystick/joystickd.py
``` ```
### Web joystick on your mobile device
A browser-based virtual joystick designed for touch screens. Starts automatically when installed on comma body (non-car robotics platform).
For cars, start the web joystick service manually via SSH before starting the car.
```shell
tools/joystick/web.py
```
After starting the car/body, open the web joystick app at this URL: `http://[comma three IP address]:5000`
--- ---
Now start your car and openpilot should go into joystick mode with an alert on startup! The status of the axes will display on the alert, while button statuses print in the shell. Now start your car and openpilot should go into joystick mode with an alert on startup! The status of the axes will display on the alert, while button statuses print in the shell.

Loading…
Cancel
Save