Go to Post Oh, please, please, GDC! Give us a corn game! - Richard Wallace [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 19-02-2005, 17:33
vexingspector vexingspector is offline
Registered User
#0811
 
Join Date: Feb 2005
Location: bg in nash, nh
Posts: 2
vexingspector is an unknown quantity at this point
simple joystick question

howdy --
for general driver ease we were lookin into using that cool button on the side by the thumb but i cant seem to find which var it corresponds to - anybody know?

~ Kris
  #2   Spotlight this post!  
Unread 19-02-2005, 17:58
whakojacko's Avatar
whakojacko whakojacko is offline
Registered User
FRC #1072 (hrt)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 2003
Location: San Jose, California
Posts: 137
whakojacko is on a distinguished road
Send a message via AIM to whakojacko Send a message via MSN to whakojacko
Re: simple joystick question

its px(where x is joystick number_wheel. Youll have to find out which values correspond to which positions though
__________________
Harker Robotics:1072
http://www.harker-robotics.org
  #3   Spotlight this post!  
Unread 19-02-2005, 18:13
vexingspector vexingspector is offline
Registered User
#0811
 
Join Date: Feb 2005
Location: bg in nash, nh
Posts: 2
vexingspector is an unknown quantity at this point
Re: simple joystick question

Quote:
Originally Posted by whakojacko
its px(where x is joystick number_wheel. Youll have to find out which values correspond to which positions though
yea -- i know bout the aux buttons and the wheel -- i'm talkin bout the button on the side, where the thumb rest is ...
  #4   Spotlight this post!  
Unread 19-02-2005, 18:34
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
Re: simple joystick question

It may not be wired by default. I suggest you open the joystick and test the switch for continuity with respect to the digital control pins on the OI joystick ports. Shouldn't take too much time.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
  #5   Spotlight this post!  
Unread 19-02-2005, 18:54
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,753
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: simple joystick question

Quote:
Originally Posted by vexingspector
that cool button on the side by the thumb but i cant seem to find which var it corresponds to...
p1_sw_top //on joystick port 1
p2_sw_top
p3_sw_top
p4_sw_top
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 19-02-2005, 18:55
probizzle's Avatar
probizzle probizzle is offline
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
probizzle will become famous soon enoughprobizzle will become famous soon enough
Send a message via AIM to probizzle
Re: simple joystick question

In the white controller that first provided, I believe that button in p1_sw_top.
The ones on the opposite side of the trigger are p1_sw_aux1 and p1_sw_aux2 depending where the joystick in plugged in. (ie. p2_sw_top if it's plugged in port 2).

hope that helped.
__________________
Code Red Team 639 Winners of the 2005 FingerLakes Regional with 191 and 494.
--
http://pset.deu83.com << my baby
http://www.setgame.com/set/ << it's mother
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
a simple autonomous mode question chippermonky Programming 3 18-02-2005 01:54
Joystick Modification Question wmurphy Control System 2 31-01-2005 00:29
Simple Question, button alias Mike Programming 5 26-01-2005 22:37
question about one joystick drive programing james700 Programming 13 29-01-2003 14:49
Alternate Joystick question archiver 2001 5 24-06-2002 00:01


All times are GMT -5. The time now is 09:25.

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