Go to Post Stupid rules are not meant to be broken; they're meant to be changed. Unless and until they are changed, breaking them is wrong. - Alan Anderson [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-02-2005, 18:49
h0x4r h0x4r is offline
Registered User
#1544
Team Role: Programmer
 
Join Date: Jan 2005
Location: bartlett
Posts: 21
h0x4r has a little shameless behaviour in the past
joystick buttons and a quick question

first of all, are u allowed to take code with u then upload it to the robot there, and the 3 buttons on the joystick, not the trigger and thumb button, how do u call those in code and use it for the robot?

Last edited by h0x4r : 16-02-2005 at 18:53.
  #2   Spotlight this post!  
Unread 17-02-2005, 00:06
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 buttons and a quick question

Quote:
Originally Posted by h0x4r
first of all, are u allowed to take code with u then upload it to the robot there, and the 3 buttons on the joystick, not the trigger and thumb button, how do u call those in code and use it for the robot?
First, you're only supposed to do software development when it's legal to work on the robot. That means during the six-week build, at competitions, and during the "fix-it window" after each. You can do analysis and prototyping any time you want, but you're not supposed to write actual code to be installed on the robot.

Second, the joystick switch to the left of the "hat" is p#_sw_aux1, the one to the right is p#_sw_aux2, and the hat itself is an analog value on p#_wheel that changes depending on which direction it's being moved.
  #3   Spotlight this post!  
Unread 17-02-2005, 00:18
h0x4r h0x4r is offline
Registered User
#1544
Team Role: Programmer
 
Join Date: Jan 2005
Location: bartlett
Posts: 21
h0x4r has a little shameless behaviour in the past
Re: joystick buttons and a quick question

thxs
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
Programming motors with joystick buttons TMHStitans Programming 5 21-03-2005 21:07
Using the extra buttons on the joystick. Code\\Pilot Programming 7 04-12-2004 19:30
problem with joystick buttons (top left one) Richomundo Programming 5 15-02-2004 17:16
Alternate Joystick question archiver 2001 5 24-06-2002 00:01
A quick question Joelster Technical Discussion 6 10-02-2002 09:09


All times are GMT -5. The time now is 18:26.

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