Go to Post Actually, I forsee two [buttons]: Fire and "Thats the opponents target, you dumb robot" - devicenull [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2010, 19:18
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Joystick Expansion

My team purchased Saietk X52 for a joystick. The joystick and the other device (a throttle) are connected to each other by a cable and then the throttle is connect to the computer via usb. Together, they have more than 12 buttons. Is there any way to go into the dashboard and configure it to send information for the remaining buttons?

Also, does anyone know how to configure HUD on a joystick?
  #2   Spotlight this post!  
Unread 16-01-2010, 22:35
wilmo's Avatar
wilmo wilmo is offline
Registered User
FRC #0868 (TechHOUNDS)
Team Role: Leadership
 
Join Date: Oct 2007
Rookie Year: 2006
Location: Carmel, In
Posts: 97
wilmo will become famous soon enough
Re: Joystick Expansion

I'm not sure how/if the X-52 will work with the control system since the system must use a Saitek program to allow the flight stick to function. This would be a big thing to check out before trying to configure the joystick. Also remember that turning the top right mode select knob will rename each button on the joystick. Also, with all the hat switches and dials on the X-52, there has to be more than 200 button combinations (there are "function" buttons that will change the name of a group of buttons) The X-52 is VERY complex and i would highly suggest reading all you can about it, you can really get yourself in a situation if you accidental push a few buttons.
__________________
  #3   Spotlight this post!  
Unread 16-01-2010, 23:14
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: Joystick Expansion

Thanks,

The joystick works in PnP mode by default so i think that that is ok. I did some detective work in the labView code for both the cRIO and dashboard and i have come to the conclusion that the place where the joystick is limited to 12 buttons is inside the driver station software. Is there a way to edit the source code files to add more buttons.

Also, I had the idea that if we could trick the computer to thinking that 2 joysticks were plugged in by cloning the 1st one and then reassigning buttons values? Would this be possible?

Finally, Is any of this legal under the game rules?
  #4   Spotlight this post!  
Unread 17-01-2010, 08:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,756
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: Joystick Expansion

You can't get or modify the Driver Station code, mostly for safety reasons.
So we are limited to the USB inputs it provides.

Only the Windows device drivers come between the Driver station and the standard joystick inputs.

You could possibly use the capabilities of the Cypress IO board to get yourself more switches and buttons, but not through the standardized Driver Station joystick inputs.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 17-01-2010, 09:35
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: Joystick Expansion

Ok. Thanks,

I'll take a look into the drivers.
  #6   Spotlight this post!  
Unread 17-01-2010, 18:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Joystick Expansion

Quote:
Originally Posted by baronep View Post
...the place where the joystick is limited to 12 buttons is inside the driver station software.
Even if the driver station software could be changed to recognize more buttons, the communication protocol between the DS and the cRIO will still limit things. Each joystick (or other USB device) has six axes and twelve buttons, that's all.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IFI Names Paul Copioli to Lead Global Expansion of VEX Brandon Martus Announcements 38 17-01-2010 19:37
Fourier Series Expansion Question sanddrag Math and Science 5 30-04-2009 22:13
Thermal Expansion Coefficients FIRST JerseyKid Technical Discussion 2 05-04-2005 06:51
Sims 2 Expansion Pack: College Life! Eugenia Gabrielov Chit-Chat 1 16-12-2004 12:48


All times are GMT -5. The time now is 19:17.

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