| author |
|
|
|---|---|---|
| programming_language | Python | |
| youtube_video_id | po4B1-oHhMQ | |
| source_code_url | https://gist.github.com/artpoz/d66f72a6092b580b9903d088dd6d1262 | |
| building_instructions_url | http://robotsquare.com/2015/10/06/explor3r-building-instructions/ | |
| excerpt | Lego vehicle Explor3r controlled by PS4 gamepad (DualShock 4) |
Lego vehicle Explor3r controlled by PS4 gamepad (DualShock 4)
Build Explor3r from these instructions.
- Pair your gamepad with EV3 by pressing and holding the PS button and the sharing button simultaneously.
- Select "Wireless and Networks > Bluetooth > Start scan", then choose "Wireless Controller".
- Copy ps4explor3r.py on to EV3 Brick.
- Write in command line
chmod +x ps4explor3r.py. - Choose file from brickman menu or run from command line
python3 ps4explor3r.py.
| Button | Code |
|---|---|
| X | 305 |
| O | 306 |
| Triangle | 307 |
| Square | 304 |
| L1 | 308 |
| L2 | 310 |
| R1 | 309 |
| R2 | 311 |
| Share | 312 |
| Options | 313 |
| PS | 316 |
| L3 | 314 |
| R3 | 315 |
| Touchpad | 317 |