Program rotation bypass?

Hey so i was trying to program something where when one motor reaches a certain point, another moves to a point to make room. for the other item that moves i use rotateTo(650, deg); and it works, but the rotate command halts everything else until it’s done, so the first motor will keep moving until the second one is finished, and i was wondering if there’d be some way how to bypass the wait and still have it to go to a specific location?

It’s not a huge deal so it’s fine if there’s no current way how to fix it but some way to would be great.

The startRotateTo(…) command referenced here should help with this problem.
https://api.vexcode.cloud/v5/html/classvex_1_1motor.html#a78bef3ced7c040cac9f9c5a7e2e0582d

2 Likes

Maybe rotate first motor to a certain point. Then rotate second motor. Then rotate first motor again.