MCPcopy Create free account
hub / github.com/DexterInd/GoPiGo3 / get_speed

Method get_speed

Software/Python/easygopigo3.py:259–267  ·  view source on GitHub ↗

Use this method for getting the speed of your `GoPiGo3`_. :return: The speed of the robot measured between **0-1000** DPS. :rtype: int

(self)

Source from the content-addressed store, hash-verified

257 dps=self.speed)
258
259 def get_speed(self):
260 """
261 Use this method for getting the speed of your `GoPiGo3`_.
262
263 :return: The speed of the robot measured between **0-1000** DPS.
264 :rtype: int
265
266 """
267 return int(self.speed)
268
269 def reset_speed(self):
270 """

Callers 1

orbitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected