Re: Turning in a defined degree
You should take a look at nMotorEncoderTarget. Search for that keyword in the help and you'll find this little snippet:
Now you need to calculate how many degrees your motors needs to turn in order turn the robot 90 degrees. I'll leave as an exercise for the reader
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page