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

Method volt

Software/Python/easygopigo3.py:225–234  ·  view source on GitHub ↗

This method returns the battery voltage of the `GoPiGo3`_. :return: The battery voltage of the `GoPiGo3`_. :rtype: float

(self)

Source from the content-addressed store, hash-verified

223 self.WHEEL_BASE_CIRCUMFERENCE = self.WHEEL_BASE_WIDTH * pi
224
225 def volt(self):
226 """
227 This method returns the battery voltage of the `GoPiGo3`_.
228
229 :return: The battery voltage of the `GoPiGo3`_.
230 :rtype: float
231
232 """
233 voltage = self.get_voltage_battery()
234 return voltage
235
236 def set_speed(self, in_speed):
237 """

Callers 4

robotControllerFunction · 0.95
robotControlFunction · 0.95

Calls 1

get_voltage_batteryMethod · 0.45

Tested by

no test coverage detected