View Single Post
  #4   Spotlight this post!  
Unread 08-02-2011, 21:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,800
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 Not Working

It looks like your Relay code in Teleop is using the wrong enumeration (see the red dots).
  • Delete the ennums and delete the one wire into the Relay Set.
  • Do a Create->Constant on the Relay Set input node to get the correct enum.
  • Copy and paste the enum to the places it's needed.
  • Now you can delete the enum connected to Relay Set and rewire the original Select back into it again.
If you do it right, then the red dots will disappear.

Are the Relay green/red LEDs on the sidecar lighting as you work the controls?


------------------
The compressor code goes in Begin. Please take it out of Teleop. Nothing else is required anywhere else.
It doesn't run just once. Start begins a background process that keeps going forever checking the pressure switch and turning the compressor on and off accordingly.


You should not be modifying Robot Main whatsoever.
Keep all your changes in the vi's under Team Code. That's why they call them that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-02-2011 at 21:28.