Closed BrownGenius closed 1 year ago
@ParkerMeyers, was there a reason we were using REV's PneumaticHub API instead of the WPILib Compressor API? @rekhask, I think I solved the CAN ID issue. The default CAN ID for the PCM is "0" but we changed it to "6", so I explicitly pass in the CAN ID when creating the DoubleSolenoid. We will have to test on the actual bot on Monday.
0 should be reserved for the PDP. And yes, the old PCM had a broken can bus but this one should work fine.
@ParkerMeyers, was there a reason we were using REV's PneumaticHub API instead of the WPILib Compressor API? @rekhask, I think I solved the CAN ID issue. The default CAN ID for the PCM is "0" but we changed it to "6", so I explicitly pass in the CAN ID when creating the DoubleSolenoid. We will have to test on the actual bot on Monday.
The REV API was what it was designed to work with, I am not sure if it works with the normal compressor api
We still have to test the branch!
The Competition Bot's REV pneumatics control module (PCM) was faulty, so was switched with the CTRE PCM. This required changes to the code.