Speed Unit of GoPiGo


#1

What are the units of the 0-255 speed settings of the GoPiGo?

Might it be rotations/min (just a guess)?


#2

Hi @cjirvene,

There are not rotations / min - technically, it’s harder for us to measure the robot’s speed.

So the answer is really simple:

  • 0 is for no movement at all - basically, the motor(s) is / are stopped.

  • 255 is for setting the duty cycle at 100% for the output pins on the GoPiGo board - think of setting the robot to give all power to the motors (this is limited by how powerful the batteries & the motor driver is).

  • Anything that’s between 0 and 255 can be represented as a percentage of the full power the motors can get.

Thank you!