Megapi Python API question


#1
* Encoder Motor
  * **encoderMotorMove**( port, speed, distance, **def** onFinish )
  * **encoderMotorMoveTo**( port, speed, position, **def** onFinish )

what’s the difference between these two python api?

I try the two method they are the same effect…

Thank you~


#2

both are used a measure of time, but distance is controlling the run time by final travel distance, and position is determining a fixed degree/step to move to (may be capped at 360(360/step), or may allow multiple rotations).


#3