Motors turn when cortex is powered on (public)

Ok, so that not being able to answer in the support forums does not make me happy.

James, I can set the flags to USB / Competition (It is set to USB only). Do I then recompile and download everything or just the code we wrote?

Set the “VEX cortex communication mode” to either “competition” or “VEXnet or USB”. Download the same code as you posted, power cycle the cortex and you should be good to go. No need to download the ROBOTC firmware or anything like that.

The problem is trying to use vexRT] when you have (effectively) disabled the joystick, USB Only is designed for autonomous operation without a VEXnet key or joystick being used. It is a ROBOTC bug, probably always been there, related to the way we setup communications between the two processors inside the cortex.

Thanks, I’ll get one of the roboteers to test it today if they can. It may be Monday before they get a chance.

Weird since I’ve done that for a long time. I’ve always had to set the flag to get it to run without the controller. bIfiAutonomousMode = true;

Thanks for the quick turn time!

@jpearman

That worked, sorry for the delay in getting back to you.

I’ll mark in my “things to remember file” the difference.