Go to Post They may call us geeks and nerds, but deep down under that prejudice they know they want to be the hard-core, sleep-deprived, hand drill-toting, robot builders we know we are! - vijay24 [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-01-2015, 20:06
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
360 HELP!!

Need help understanding how to use a xbox 360 controller for the robot instead of a regular joystick. Like coding and reference names for the controller
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2015, 20:22
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics), 694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 158
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
Re: 360 HELP!!

It works essentially the same as a joystick.

If you plug the controller into the driver station computer, open the "FRC Driver Station" program, click on the USB devices tab on the left, and select the controller in the list- you will be able to see the mapping of axes and buttons (starting from 0), and whatever the number left of the controller is in the list will be the number of that "Joystick" in Begin.vi.
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2015, 21:13
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
Re: 360 HELP!!

Quote:
Originally Posted by forbes View Post
It works essentially the same as a joystick.

If you plug the controller into the driver station computer, open the "FRC Driver Station" program, click on the USB devices tab on the left, and select the controller in the list- you will be able to see the mapping of axes and buttons (starting from 0), and whatever the number left of the controller is in the list will be the number of that "Joystick" in Begin.vi.
Do you have any tips for a new programmer like myself?
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2015, 23:42
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics), 694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 158
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
Re: 360 HELP!!

I recommend looking at the examples in LabVIEW -> Help -> Find Examples...

They have code for almost everything a team would want.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2015, 16:37
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
Re: 360 HELP!!

Does anyone have a screen shot of what the POV should look like on Labview?
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2015, 08:15
Maximillian's Avatar
Maximillian Maximillian is offline
Registered User
AKA: Max Westwater
FRC #5254 (HYPE)
Team Role: College Student
 
Join Date: Dec 2013
Rookie Year: 2014
Location: Worcester, MA; NY
Posts: 99
Maximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant future
Re: 360 HELP!!

Quote:
Originally Posted by FrankenmuthK View Post
Does anyone have a screen shot of what the POV should look like on Labview?
Here is the axis, button and POV mapping for an Xbox 360 controller.

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:15.

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