View Single Post
  #1   Spotlight this post!  
Unread 12-02-2011, 15:33
MathMaven MathMaven is offline
Registered User
AKA: Elisha Sword
FRC #3175 (Knight Vision)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Michigan
Posts: 50
MathMaven is on a distinguished road
Xbox 360 Controller Triggers

We (team 3175) have been testing the use of an Xbox 360 controller to control our arm and have found issues with the trigger buttons. When using the trigger buttons to control a window motor, we find that our program is reading axis z-axis values that do not correspond to how we are pressing the trigger buttons.

In one case, we let go of the trigger buttons and the value sent to the TeleOp.vi was 1. However, when looking at the controller through the control panel while running the program, it shows that the z-axis is in a neutral position.

Why is this happening? Is this a fault of the controller's hardware, the programming (which I have attached to this thread), or something else? We'd really appreciate some answers.
Attached Thumbnails
Click image for larger version

Name:	problem.png
Views:	126
Size:	6.5 KB
ID:	10076  
__________________
—Elisha Sword

2010–13: FRC Team 3175 (Knight Vision), student, lead programmer
2012–13: FRC Team 3175 (Knight Vision), lead website designer
2014: FRC Team 3175 (Knight Vision), programming mentor

“Who has not been amazed to learn that the function y = e^x, like a phoenix rising from its own ashes, is its own derivative?”
—Francois le Lionnais
Reply With Quote