View Single Post
  #1   Spotlight this post!  
Unread 11-02-2012, 01:09
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
programming the Logitech game controller

We are wanting to use the Logitech game controller (same as used in FTC) as our drive controller and one of the standard joysticks for the actuator. We are having trouble getting the Logitech controller to work. The attached code shows generally how things are set up (we haven't added the code for the actuator yet). We have tried every combination of the axes from the Joystick Get VI, but they all have the same result (which is kind of odd). I don't have the specifics of the results with me at the moment, but essentially the left joystick y axis will control one motor, and the left joystick x axis will control the other motor. The right joystick does not do anything. Ideally we'd like to have the left joystick y axis control one motor and the right joystick y axis control the other motor. Any thoughts on what we could be doing wrong? Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	joystick_labview_code.png
Views:	33
Size:	160.7 KB
ID:	11845  
Reply With Quote