|
Re: Multiple pneumatics control modules?
Team 3255 believes they found a bug in the Java library using multiple PCMs. When we created a DoubleSolenoid on each PCM, we told it which module for each solenoid as the first argument. Calling the set method to kForward or kReverse worked fine for both. But get always returned the same value for the solenoid on the 2nd module regardless of its setting. Taking a quick look at the Java source for WPILib, I believe it's always returning the value of the slots from the first module on a get. We worked around it by caching the state in a local variable. We plan on submitting a bug report (once we learn how to do that).
|