- Python 3.7+
- Linux
- PS4 Controller
- USB2CAN
Install Linux can-utils:
sudo apt-get install can-utils -y
Install Python requirements:
python -m pip install -r requirements.txt
- Connect USB2CAN & PS4 Controller
sudo ip link set can0 type can bitrate 500000
sudo ip link set can0 up
python controller.py