View Single Post
  #1   Spotlight this post!  
Unread 24-03-2011, 19:26
wiiking123 wiiking123 is offline
Registered User
FRC #3855
 
Join Date: Feb 2011
Location: Washington
Posts: 20
wiiking123 is an unknown quantity at this point
Using a Logitech Game Controller

Recently, I tried to set up our robot to use a normal USB Logitech game controller using the .VI for an xbox 360 controller I found @ http://decibel.ni.com/content/docs/DOC-6036 . When I tried just running the .VI all by itself, the .VI was able to register all of the buttons, joysticks, ETC. I tried incorporating the .VI into the TELEOP.VI in the robot code, but all of the sub.VIs were considered invalid for the cRIO. When I tried incorporating the xbox vi into the teleop vi, I essentially copied and pasted the whole code into the teleop.vi. How should I go about integrating the xbox 360 controller VI into my robot code, and how do others go about using a normal USB controller for their robot?
Reply With Quote