Answered: RobotC Programming Templates

Hi

Last year at the championships, our robot was checked to see if the autonomous mode stopped after 20s. Is this the only requirement for the programming?

I am planning to alter the vex competition includes file in RobotC to go straight into driver control mode if the transmitter is already on when the robot is turned on. This would mean that if the robot reset (due to a loose battery connection or stalling etc) during a game it would not go through autonomous again. Also for driving practice the drivers could just switch the transmitter on before the robot. Is this allowed? Do we even need the vex competition template (as long as it stops autonomous after 20s)?

Also I see that this year there is a competition template for the programming and driver skills challenges. Do we need to use this? Last year we didn’t use a template for the challenges.

Thanks

Yes, you must you the proper competition template for your chosen programming language. This applies both for regular matches and the skills challenges.

I havn’t tried this, but I am aware that I can put some code in the autonomous section that will make the robot skip straight to user control mode if the transmitter is already on. This would not be changing the competition template. The robot would still perform normally when turned on in the right order. Would this be allowed?

Thanks