mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user