Hello, I am attempting to use the google voice AIY kit with xbox drivers from here https://tutorials-raspberrypi.com/raspb ... -wireless/ to control motors, right now only a servo motor.
I got the voice control to work with the servo, and tried adding xbox to the same script. However, the xbox needs sudo permissions to run, so I have to use "sudo python /file/". Then the xbox import works, but it says it cannot find the AIY modules (if audio is first it says it cannot find audio, if cloudspeech is first in code it says it cannot find cloudspeech, etc). If I run the scrip without sudo it says xbox controller not detected and I have to run in sudo. Using the sudo xboxdrv commands shown in the tutorial to track button presses in the terminal and using the controller as a mouse on the desktop works fine, so the controller is obviously working. I think running as sudo python changes the directory, so I tried copying the cloudspeech.py and etc files to root, still no go.