Thread: Pneumatics
View Single Post
  #2   Spotlight this post!  
Unread 10-01-2015, 18:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Pneumatics

That uses button #2 on the game controller, not the trigger if that's what you were thinking "1" mapped to. The trigger would be index 0.

You can actually delete all the compressor code you have there.
Some of it is incorrectly placed, but it isn't explicitly necessary anymore with the roboRIO. If you Open a Solenoid, the compressor automatically gets created too.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote