Coding auton with C++

I’m on a middle school team and we’re only a 3 person team. We have a comp on Saturday (in less than 2 days) and I need to completely redo my auton code, this is also my first year coding (first year in robotics in general too). I usually don’t get much help from my team at all, in which they usually don’t do much. And the other teams in my school are busy too so I can’t get help from them either.

I basically just need advice on a quick and easy way to code auton in under 2 hours.

To get your motors turning in autonomous, you can use this simple code…

(motor name here) spinFor (forward, 90, degrees);

This code basically turns the motor 90 degrees forward which should help you get started.

Hope this helps!

If you look online there are plenty of command libraries for VRC. Here are two I use sometimes:
https://help.vexcodingstudio.com/
https://api.vexcode.cloud/v5/

Thank you! both replies were really helpful!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.