Go to Post Us, as adults, find ways to help the kids to make it happen. - aspiece [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 06-04-2009, 23:59
chopperdudes's Avatar
chopperdudes chopperdudes is offline
zizzling battery
FTC #0541 (Jaguars)
Team Role: Driver
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Toronto
Posts: 22
chopperdudes is an unknown quantity at this point
[FTC]: controller programming

does anyone know how to use the up/down/left/right arrows on the left side of the controller? as in how would you refer to them in the programing? from what our programmer said, he cannot figure it out =(

thanks a ton guys!
Reply With Quote
  #2   Spotlight this post!  
Unread 07-04-2009, 06:16
gdo's Avatar
gdo gdo is offline
Never too much duct-tape ;)
AKA: Patrick
FTC #0001 (Team Unlimited)
Team Role: Engineer
 
Join Date: Dec 2005
Rookie Year: 2001
Location: MA
Posts: 131
gdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to behold
Send a message via AIM to gdo Send a message via MSN to gdo
Re: [FTC]: controller programming

what language are you guys using?
__________________



FTC #1: http://unlimited.syraweb.org

Got any question for me; AIM, MSN or PM me
Reply With Quote
  #3   Spotlight this post!  
Unread 07-04-2009, 09:42
chopperdudes's Avatar
chopperdudes chopperdudes is offline
zizzling battery
FTC #0541 (Jaguars)
Team Role: Driver
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Toronto
Posts: 22
chopperdudes is an unknown quantity at this point
Re: [FTC]: controller programming

oh sorry we're using RobotC
Reply With Quote
  #4   Spotlight this post!  
Unread 07-04-2009, 09:53
595294001 595294001 is offline
FTC World Champion
FTC #2820 (Longhorn Robotics)
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Canada
Posts: 40
595294001 is an unknown quantity at this point
Re: [FTC]: controller programming

The top-hat activates like this:

"if(joystick.joy1_TopHat == 1){
//do something
}"

It's really just four buttons and the variable "joystick.joy1_TopHat" will contain one of five values representing the pressed button (the fifth value is for no buttons). I forget which order the buttons correspond in now, but it's pretty easy to use,

Good luck and we'll see you in atlanta,

Alex
2820
Reply With Quote
  #5   Spotlight this post!  
Unread 07-04-2009, 17:35
dooey100 dooey100 is offline
Registered User
FTC #3037
 
Join Date: Feb 2009
Location: Fernie
Posts: 47
dooey100 is on a distinguished road
Re: [FTC]: controller programming

actually there are the 4 cardinal directions and 4 diagonals, plus the no buttons pushed "direction" is 9
Reply With Quote
  #6   Spotlight this post!  
Unread 07-04-2009, 19:03
chopperdudes's Avatar
chopperdudes chopperdudes is offline
zizzling battery
FTC #0541 (Jaguars)
Team Role: Driver
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Toronto
Posts: 22
chopperdudes is an unknown quantity at this point
Re: [FTC]: controller programming

wow thanks for the quick reply!!

Thanks alot guys, it should be easy for me to figure out.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: LabVIEW Programming Template for FTC Team 288 FIRST Tech Challenge 30 06-02-2010 17:49
FTC Programming Help mjgard Programming 4 02-03-2009 13:54
[FTC]: Problem with two controller setup in Labview wilsonmw04 FIRST Tech Challenge 2 11-11-2008 19:58
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49
[FTC]: [FTC] Motor Controller problems michael714 FIRST Tech Challenge 4 14-10-2008 00:33


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

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