Quote:
Originally Posted by NotInControl
Also this is dependant upon where you start your compressor code from. If you start the compressor call in robot init, it has the potential to run during disabled.
|
This is not exactly true.
All of the outputs (PWM and Relay) are disabled in hardware when the robot is disabled. Even if you try to set them (there's no harm in setting them continuously while disabled), they will not be set because of the disable circuit.
However, there are some cases where the buffers for the relay outputs can fail in such a way that they ignore the disable circuit but otherwise work fine.
Running code while disabled can also help with troubleshooting code, as you can look at what it is trying to do without letting it do it.