Has anyone attempted to write a Python script to operate the Office Cannon with a PS3 shock controller?
Hey,
There;s a project for controlling the GoPiGo with a PS3 controller here: https://github.com/DexterInd/GoPiGo/blob/master/Software/Python/Examples/PS3%20Control/ps3_gpg_example.py . It should be pretty easy to add the functionality to the office cannon from there.
-Karan
Great thanks! Is there a library for the Office Cannon in order to link movement and fire commands to the PS3 buttons/joy stick?
Thanks
Steve
Hey Steve,
You can have a look at this: https://github.com/DexterInd/GoPiGo/blob/master/Software/Python/Examples/Office%20Cannon/office_cannon_v1.py . There is a function run_command() which is used to control the Office Canno. You can change that to control it with the PS3 controller.
-Karan
Hey Steve, please let us know what you build! This sounds like a really cool project!