So my team has a competition coming up in a few weeks (it’s optional but we might try out) and we have everything sorted out but the autonomous coding. I’m the only one on my team who knows how to code but I never really learned how to code autonomous as this is my first year in robotics. I would ask other coders for help, but they’re busy getting their robots ready and don’t have time. I’m using Vex code with blocks and only know to put the “if autonomous” block. I need some help figuring out what I’m supposed to put inside of it. Thank you!
Here are the basics:
- Use the when program started block to run the code
- Use move blocks and turn blocks to drive around
- Use the motor blocks to move motors for other things such as mechanisms that aren’t in the drivetrain.
Here is a link to the VEXCODE VR course which has tutorials for block programming:
VEXCODE VR Course
1 Like
You just move certain motors certain amounts until it works.
move drivetain forward 10 inches
spin intake
turn 90 degrees (left side forward, right side back)
stop intake spin
etc...
1 Like