View Single Post
  #12   Spotlight this post!  
Unread 21-01-2012, 20:49
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: How does this program look?

Quote:
Originally Posted by frankthelyon View Post
Hello, thank you guys for all of the help so far. I talked to the design team today, and we switched to a pnuematic solenoid "kicking mechanism." Would this case structure work?
That won't work. You need to turn the other solenoid off before you turn the new one on.

Get rid of that case structure, and use a 'Not' logic block under the Boolean menu to keep the values negated (opposite).

I don't have my PC with the FRC code on right now, so you'll have to just understand this:



Here's where to find the 'Not' block:



And please, for the sake of reading your code, clean it up a bit before asking for help. There's even a tool for it! Select (marque) the code you want to clean up, then press Ctrl + U. Magic!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 21-01-2012 at 21:00.
Reply With Quote