update joystick README for webjoystick (#24413)

old-commit-hash: 0771addd144a6822fca8209be53994c0db009bbb
This commit is contained in:
Jason Young
2022-05-03 19:03:17 -05:00
committed by GitHub
parent 98e1937b9d
commit 2708e96fab
+11
View File
@@ -45,6 +45,17 @@ In order to use a joystick over the network, we need to run joystickd locally fr
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.