Quote:
Originally Posted by bob.wolff68
I think the problem you're seeing is the same that we scratched our heads on for a while... this year there is no Compressor class. This year, you hook the pressure switch to the PCM and the power from the compressor to the PCM. Then in your code, the MAGIC (ok it's not magic - it's a matter of reading the right paragraph on the right page of screensteps - sigh) is to instantiate a Solenoid.
You don't even need to USE the Solenoid...just instantiate it in your robot class and then enable the robot.
Solenoid testCompressorTurningOn;
|
...no ... they have a DoubleSolenoid in their ExampleSubsystem, which is instantiated in CommandBase::init(), so that seems ok...
Are you guys still having the symptom with the simple example you posted?
I haven't seen it misbehave yet.