How to either detect how many degrees the motor has spun, or how to calculate how many degrees to spin it to go a certain distance?

I’m trying to figure out how far my robot must go in the autonomous period of a round, but I don’t know how many degrees I need to spin the motor to make it go that distance. I am also thinking about making the robot go that distance, and then figuring out how many degrees the motors spun, but I don’t know how to do any of those things. This is also my first year as programmer, so I am very clueless… :sweat_smile:

I would recommend using inches as a unit of measurement instead of degrees

1 Like

PROS:
https://pros.cs.purdue.edu/v5/api/cpp/motors.html#get-position

V5 Pro:

2 Likes