View Single Post
  #3   Spotlight this post!  
Unread 13-02-2014, 01:34
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: [Help] Compressor Problem (Java)

The compressor code you posted will not cause the Robot Drive message by itself, unless it is conflicting with some of your other code. One reason might be that you are using relay 1 or DIO 1 for something else in the code also.

There is no need to disable the compressor in disabled(). In fact, with the code you posted, the compressor would never run, as it would be started in robotInit and then immediate stopped in disabled, and never re-enabled.
Reply With Quote