|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
||||
|
||||
|
Re: How do i add two "True" values
I have tried to make the kicker by the state machine way,, with the Enums and everything. But it was a lot of case structures. i made it worked with just 3 if statements so that is not my problem.
But what is my problem is that i want it to kick when (2) values of 2 switches is true. I did it by adding another Case structure in autonomus over the two "True" cases and did the solenoid extend and retract. I am asking if there is a better way > to do this. Like a ( + ) that adds the true values. maybe? i have written the code and posted it,, in my attachments above. If you know a way to do this tell me! ![]() 1514 Whcirobotics |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cRIO "Magic" Values: Unresponsive Driver Station | KRV | NI LabVIEW | 0 | 13-02-2009 17:33 |
| "You've Been Sentenced" Robotics Add-On Deck Featured at the Duel on the Delaware | Mr MOE | General Forum | 0 | 02-10-2008 07:32 |
| Cannot access "double" values | chantilly_team | Programming | 14 | 06-02-2005 13:39 |
| Is the "Confirmed Game Information" rumor true? | MJAdams | Rumor Mill | 8 | 02-01-2003 22:41 |
| how tall is the ramp when in "up" and "balanced" position??? | archiver | 2001 | 1 | 24-06-2002 00:54 |