Closed CraigFox0 closed 3 years ago
Hi @CraigFox0 can you upload your robot program so we can take a closer look?
@AustinShalit we tried multiple versions of code on two different robots. We tried this repository, this repository, and a completely new blank project with only a single solenoid operated by a XboxController.
Hi @CraigFox0, thank you for the code.
In the constructor of the Compressor object, we add it to the Sendable Registry:
The implementation of the enabled flag is:
Instead of this::enabled
should we be calling this::getClosedLoopControl
?
That should work
Describe the bug When test mode is enabled on the FRC dashboard, the compressor closed loop is set to false. Even if the robot is disabled and re-enabled with a different mode, it will still be set to false.
To Reproduce Steps to reproduce the behavior:
Expected behavior The compressor closed loop control should remain true.
Desktop (please complete the following information):