Could someone help me with trying to code a match autonomous in VEX Code Pro? I do not know where to start. I want my autonomous to drive forward, obtain a mobile goal, and then pickup a ring.
There are many posts about programming autonomously, so you might want to search it up on google or vexforum before asking.
Nevertheless, let’s get started:
-
Head to VexCode
-
On the right, click on the button that looks like a VEX port
-
Initialize all the devices you are using on your robot, e.g. an Intake motor, Pneumatics (mobile goal clamping mechanism), Drivetrain, etc
-
Start Autonomous by dragging a “When Autonomous” Hat/Event Block. All code under that will run when it is autonomous.
-
You can then add all your code that you want, e.g.
(p.s., don’t use the code. It won’t actually do it)