Okay, so I’m coding for my team this year for Tower Takeover, but I am confused about something.
There are four sections in the V5 competition template (Correct me if I’m wrong):
`void pre_auton( void )`
`void autonomous( void )`
`void usercontrol( void )`
`int main()`
On the website help.vex, it said:
- The competition template has three sections that correspond to the three phases of a competition match: robot setup, autonomous, and driver control.
I have major questions about this.
First, I counted four sections, so why does the website say three?
Second of all, I THINK that the 'int main` tag is the one that doesn’t correspond with one of the competition phases. If it doesn’t have robot setup, driver control, or autonomous in it, then what does it contain?
Also, if I’m incorrect about 'int main` being the one that doesn’t correspond with the competition template, which tag is it, and what goes in it if it doesn’t correspond?
Also, ONE last thing. Can I please have some examples of what would go in the tag that has nothing to do with the competition?
Sorry if this question was a bit lengthy . I just really need to understand this.
Thank you for your time!