ev3dev: make gyro calibrate method private

This method is a bit buggy, so make it private until we get the kinks worked out
This commit is contained in:
David Lechner
2019-03-25 15:48:24 -05:00
parent f4fbd805f6
commit 2e2e5d76b5
+5 -2
View File
@@ -442,8 +442,11 @@ class GyroSensor():
"""
pass
def calibrate(self):
"""Calibrate the sensor. This process sets the speed and angle to zero and ensures that the angle value does not drift.
def _calibrate(self):
"""Calibrate the sensor.
This process sets the speed and angle to zero and ensures that the
angle value does not drift.
Make sure that the sensor does not move while calibrating.