I'm actually a virgin to both Linux and Python (and to programming in general - aside from some very very OLD Basic programming and some batch scripting I have no programming experience).
I want to be able to do the following:
- Connect an XBOX 360 controller to a Raspberry PI. AFAIK, there is a user-space Linux driver for the XBOX 360 Controller: xboxdrv
- Get axis/button values at a predifined sampling rate (tens of Hz).
- Apply a specific smoothing function (ie: Kalman filter) to certain value groups.
- Encoding smoothed data as PPM and sending it to GPIO pins of Raspberry PI (I have no idea how the GPIO controller registers in Linux).
First question: How exactly do I ask the driver to output sensor data into some defined variables?
You do not need to be very specific (although it would be much appreciated) - just point me to whatever you know will help me learn the steps in order to be able to solve said problem. Thanks.