gwhs / KYLE_ROBOTICS_2021

Other
0 stars 2 forks source link

compressor is not starting #1

Closed alevin closed 3 years ago

alevin commented 3 years ago

Compressor is not starting

alevin commented 3 years ago

@Chvoong24 , I guess that you should add something like:

import edu.wpi.first.wpilibj.Compressor; ... compressor = new Compressor(); ... compressor = null;

see DaphneTwoContainer.java as example

alevin commented 3 years ago

status light can help with diagnostics: https://docs.wpilib.org/en/stable/docs/hardware/hardware-basics/status-lights-ref.html

Check state of pressure switch

As I remember, we've seen "not starting" problem when PCM was not on "default" ( 0 ) CanID - try to change from current to 0.