! autonomous() via comp. switch VS roboc C

Hi all -

Our team has an issue hoping someone knows the fix.

In the code (attached) the autonomous runs fine when invoked from within Robot C (VexNet)

However when we use a competition switch if gets hung-up - like stuck running first few commands. The arm-raise in on-off pulses to (SensorValue)position then shuts off.

We’ve

  • swapped controllers
  • flashed everything

We’re thinking:

  • putting delays in my tasks / loops thinking it’s a CPU-hogging thing
  • replace Cortex

Any thoughts appreciated!
2018 11-26.doc (7.84 KB)

think I found fix - after programming remove programming cable reboot cortex /controller & connect competition switch.