View Full Version : 360 Controller help!!!
Intern_3596
20-05-2014, 14:47
for our parade robot that we are currently building we are using labview, we have used java in previous years and we will be using labview from now on, however my self and another programmer cannot figure out how to implement the XboxController.vi that we have downloaded to be used in tankdrive. please help.. be as specific as possible and possibly include sites, documents and pictures or anything that can help. Thank you
Mark McLeod
20-05-2014, 15:44
There's not really much to using an xBox game controller in FRC LabVIEW.
If you want comments on using the particular vi that you've downloaded, then you'll need to post it or a link to it for advice.
The xbox controller connects to a USB port, then shows up as any other joystick in your robot's LabVIEW code.
Controls translate to this:
http://team358.org/files/programming/ControlSystem2009-/sm_XBoxControlMapping.jpg (http://team358.org/files/programming/ControlSystem2009-/XBoxControlMapping.jpg)
The robot code looks like this:
http://team358.org/files/programming/ControlSystem2009-/LabVIEW/Joystick.jpg
Expand the axis and buttons to see more of each that are available from the xbox controller.
RoboNerd01
01-12-2014, 22:29
Just add it as a normal joystick and treat the two analog sticks as two joysticks. Just use both of their Y axis variables. Connect those to the tank drive VI.
If you have any questions just PM me. I'm happy to help you! :)
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.