Go to Post In any case, I'd like to remind everyone to practice gracious nonexpansionalism while in your pit. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-05-2014, 14:47
Intern_3596 Intern_3596 is offline
Registered User
FRC #3596
 
Join Date: May 2014
Location: Wisconsin
Posts: 1
Intern_3596 is an unknown quantity at this point
360 Controller help!!!

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
Reply With Quote
  #2   Spotlight this post!  
Unread 20-05-2014, 15:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: 360 Controller help!!!

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:


The robot code looks like this:

Expand the axis and buttons to see more of each that are available from the xbox controller.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2014, 22:29
RoboNerd01's Avatar
RoboNerd01 RoboNerd01 is offline
Super User
AKA: Austin Rowe
FRC #3604 (Goon Squad)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Woodhaven
Posts: 11
RoboNerd01 is an unknown quantity at this point
Cool Re: 360 Controller help!!!

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!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi