Thread: Test Mode
View Single Post
  #6   Spotlight this post!  
Unread 23-04-2013, 12:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Test Mode

The most likely thing you are seeing is that Test mode has a side-effect of stopping the compressor. If you simply start it in Begin and never expect anyone to stop it, then test mode is breaking that assumption.

If you want to put a Compressor Start in Disable or somewhere else in your code, like in teleop on a button, that will fix it.

While looking, I also found a few issues with how test mode controls the compressor. At least in the code I was looking at, it would start but turn off the relay each second. I'll fix that for next year.

Greg McKaskle
Reply With Quote