I am coding my vex with C++ and want to do a 90-degree turn. How do I do it?
1 Like
The exact numbers will depend on your robot but you just spin one side of your drive in one direction or the other in the opposite direction (or a combination of the two)
3 Likes
depends how in depth you want to go, from just spinning the opposite side motors in the other direction to using odometry incorporated pid
1 Like
Assuming you are using VEXcode V5 text, the drivetrain
class will do the necessary math for you to turn a particular angle, provided you configure it correctly.
See this thread for more info about using the drivetrain
class:
2 Likes
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.