Ifference between VCS Motor.startRotateFor and Motor.RotateFor

new to the coding and try to learn.

What is the difference between VCS Motor.startRotateFor and Motor.RotateFor.


The start.Rotate starts the motion is non-blocking, meaning it will go to the next line of code. RotateFor is blocking by default, so it will stay in the function until it is completed before moving on to the next line of code. There is an option to make it non-blocking

Hopefully, I got the explanation kind of right :frowning:

1 Like

Thanks. You make it really clear.