Go to Post I don't resent or envy them for being strong teams; I hope we can continue to learn from them and someday join their ranks. - dsmoker [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 12-02-2009, 22:23
xtreampb's Avatar
xtreampb xtreampb is offline
Lead Programmer 2642
FRC #2642 (Pitt Pirates)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Snow Hill
Posts: 21
xtreampb is an unknown quantity at this point
Send a message via AIM to xtreampb Send a message via Yahoo to xtreampb
Re: "GetTrigger(KHand hand)" what???

the code in the brackets is fine. it runs when i use if(GetRawButton(button))

It doesn't work when i use the GetTrigger(); do i need to use any paramiters because i know that in the templet or tool tip it says hand so i know that is fir the generic HID but do i need to insert anything. I dont get any build errors when I dont use paramiters.

Please ignore the poor spelling, there is a reason why i program on a computer...spell check

~xtreampb~

Pitt Pirates 2642
  #2   Spotlight this post!  
Unread 12-02-2009, 23:33
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,113
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: "GetTrigger(KHand hand)" what???

Quote:
Originally Posted by xtreampb View Post
the code in the brackets is fine. it runs when i use if(GetRawButton(button))
How do you know it runs? It looks like it won't have any noticeable effect. It turns on a solenoid output so briefly that there should be no time for a mechanical component to respond before it's turned off again.
  #3   Spotlight this post!  
Unread 12-02-2009, 23:51
xtreampb's Avatar
xtreampb xtreampb is offline
Lead Programmer 2642
FRC #2642 (Pitt Pirates)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Snow Hill
Posts: 21
xtreampb is an unknown quantity at this point
Send a message via AIM to xtreampb Send a message via Yahoo to xtreampb
Re: "GetTrigger(KHand hand)" what???

Quote:
Originally Posted by Alan Anderson View Post
How do you know it runs? It looks like it won't have any noticeable effect. It turns on a solenoid output so briefly that there should be no time for a mechanical component to respond before it's turned off again.
so are you saying that i need to use like a wait(0.5) before it set it to false again. I am changing it so fast because it is going to be out "plundger" and it needs to reload itself as fast as possible or else the other balls in quene will get jamed behind the launcher (especially if the person working the fire control doesn't know what he/she is doing)
__________________
~Xtreampb~

Pitt Pirates 2642

Lead Programmer
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
Analog inputs not "working" — I only detect "noise" keehun Programming 11 31-12-2008 19:01
Championship Event - Where the "Random" Match Sorting Really "Shines" Travis Hoffman Championship Event 57 19-04-2007 08:06
New NEMO White Papers! "Creating a Killer Packet" and "25 Ways to Sponsor" Jessica Boucher Team Organization 0 10-08-2005 10:55
"Thunderbirds" Vs. "Team America" Which one will rule the box office? Elgin Clock Chit-Chat 3 07-09-2004 19:53
how tall is the ramp when in "up" and "balanced" position??? archiver 2001 1 24-06-2002 00:54


All times are GMT -5. The time now is 02:23.

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