Hello,
I have my students write autonomous programs using the competition template. Once they download a program written on the competition template, joystick control only works when plugged into the field controller from that point on. Is there a way that the students can retain joystick control on their robots when they’re not plugged into the field controller, just like they can when the robot is new?
Thanks!
When not plugged into field control or a competition switch, the code in the “usercontrol” task should always run when the robot is powered up. I’m not completely sure what you mean by “just like they can when the robot is new?”. A new cortex will contain “default code” programmed at the factory that can be used to drive the robot if it is not programmed using ROBOTC, once you program the robot the default code will be replaced by your own.