Re: Logitech Controller Problem
There are a couple of things I suggest checking to help narrow down where the issue lies:
- Does the problem occur with multiple controllers, or just that controller?
- Does the problem occur with multiple computers, or just that computer?
- Is the X/D switch on the back of the controller set to X (Xbox) or D (Digital) mode (if applicable)?
- Is the 'Mode' button on the face of the controller set to On or Off (next to the D-pad, there is an LED next to the button that should indicate the status of the Mode setting)?
Also, which values specifically is the joystick showing when it is centered? You may need to create a dead-band for the joystick in your program to compensate for any physical off-centering that specific joystick may have. There is a video in the ROBOTC for LEGO MINDSTORMS Video Trainer Curriculum (http://www.education.rec.ri.cmu.edu/pre ... index.html
under the Remote Control -> Remote Control Basics -> Improving Remote Control section) that both explains how to create this deadband and why it is necessary for some joystick controllers.
Check out our Blog
! And our Facebook page
Need help? Take a look at our Wiki
and our Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody