This is an update on my Anki Vector and how I control it with a PlayStation 4 controller.
If you want to do something similar, you want to start here: • Connect PS4 Controller...
Once you have the controller connected and able to receive its events in Python, came back to this video as it will make more sense.
Code is available on GitHub: github.com/ArturSpirin/MyVector
SOFTWARE:
pyPS4Controller module is available on PyPi and GitHub
- Pypi: pypi.org/project/pyPS4Control...
- GitHub: github.com/ArturSpirin/pyPS4C...
HARDWARE:
PS4 DualShock 4 Controller: ebay.us/PnXchi
Anki Vector Robot: ebay.us/67PAWQ
I run the code for Vector on a Raspberry Pi because it has Bluetooth and is low powered so I can leave the code running for as long as I want. However, you can use another Linux machine which has Bluetooth.
For Raspberry Pi you can use any one of the following:
- Raspberry Pi 3 b: ebay.us/dfe2Nu
- Raspberry Pi 3 b+: ebay.us/m7bc5q
- Raspberry Pi 4 b: ebay.us/GLE3QE
Негізгі бет Anki Vector motor controls with PS4 Controller
No video
Пікірлер: 9