View Single Post
  #9   Spotlight this post!  
Unread 02-02-2011, 20:23
Trump Trump is offline
Registered User
FRC #2053
 
Join Date: Feb 2010
Location: New York
Posts: 18
Trump is an unknown quantity at this point
Re: Compressor programming please help

Quote:
Originally Posted by Tds123 View Post
soo i dont put anything in between
it will just start and stop on its own using the pressure switch?
Yes you do, put your loops between the start and stop.

You use start when you want the compressor to start controlling itself... it will automatically turn on or off based on if the max pressure is realized.

If for some part of the match you don't want the compressor running no matter what (even if it isn't at max pressure yet) you use stop.

For example if you only wanted to use pneumatics during autonomous you would use start before your autonomous loop, and then after the loop you would tell it to stop so it wouldn't continue to run during teleop.

The start and stop commands don't literally tell the compressor to turn on or turn off, they tell the compressor whether it should be controlling itself or not. I hope this helps.

Last edited by Trump : 02-02-2011 at 20:27.
Reply With Quote