Basic Programming Refresh Please

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:

  1. Head to VexCode

  2. On the right, click on the button that looks like a VEX port
    image

  3. Initialize all the devices you are using on your robot, e.g. an Intake motor, Pneumatics (mobile goal clamping mechanism), Drivetrain, etc

  4. Start Autonomous by dragging a “When Autonomous” Hat/Event Block. All code under that will run when it is autonomous.
    image

  5. 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)