We’ve been plagued with a super weird issue where completely randomly our controller will detect that a comp switch is connected. Our robot will be in the middle of a skills run, and suddenly the icon will appear at the top of the controller even if there is no comp switch present. This immediately stops the run and kills it.
Does anyone know what we can do about this? I’ve tried completely reworking the code and switching the controller, and it’s still happening.
Occasionally this can happen if a smart cable (like from the smart field control) was plugged into the legacy competition port, though I can’t say I’ve heard of it being intermittent. I’d also say to inspect the legacy competition port and make sure there aren’t any pieces/flakes of metal in it that might cause any shorts.