|
Re: Test Code
If you use the teleop or autonomous, the code executes once, because it is not in a loop. By running robot main, the code sits in the actual game code loop.
By pressing the play button, it only disables the startup code, and runs your code in its ram, so when you restart the robot, the code disappears, and no harm is done.
|