Compressor and 2-can

after many, many hours of chasing what seems like wiring problems, we believe we have identified a problem with the compressor while running 2-can. we can work the compressor just fine without drive code, and can run our Jaguars off 2-can without the compressor. to get the compressor going, we enabled the disable code block in periodic tasks.

when we have both, the compressor’s behavior is erratic. sometimes it works, sometimes is runs for about 1 execution cycle and sometimes it doesn’t run at all. we are getting errors on the driver’s station saying something like robot drive loop not getting inputs, etc, something that makes me think either the compressor or the 2-can is using all the processor.

we have changed out cables, side cars, crio modules, spikes, just about everything.

we are using the 2-can module purchased from cross the road electronics.

has anyone else seem this? is anyone running 2-can and the compressor successfully? is there a switch setting on the crio we need to change?

Wendy,

Could you post your team’s code? I’d like to have a look through it. Maybe one of the really bright student’s or mentors here could find the issue.