Hmm it looks like that assert will trip on anything >= PCM Device ID 8....
Quote:
|
const uint32_t solenoid_kNumDO7_0Elements = 8;
|
...HAL.cpp in wpilib. This gets passed into a Resource object which trips on line 87 of Resource.cpp.
Not sure if that's the intent of the code's author, but I would keep the device ID less than '8' just to be safe. Hopefully you have less than 8 PCMs!
The reason changing the param in your c'tor to '1' from '11' breaks the compressor is likely because you didn't change the PCM ID to '1' in the RIO web-page config.
Setting the device ID...
http://wpilib.screenstepslive.com/s/...ribution-panel