You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jstest is what i've used to decode input from a PS4 controller. I tried pyPS4Controller but could not get it to work so built a parser for jstest output
sudo apt-get install joystick
pyserial is a library for sending command via usb to the teensy 4.0
(sudo [for global usage]) pip3 install -r pip.freeze
How to run
cd ./control/ps4
Start sending commands from ps4 controller to remote: python remoteCommand.py
Starting the teensy command server python commandServer.py
Open SerialPlot select ttyACM0 and click open. FIXME
Press triangle on the PS4 controller to startup.
Press square on the PS4 controller to stop.
Squeeze right trigger to control thrust setting (WARNING as this is not working currently you could burn out hardware by using the throttle )