|
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.
|