File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
bricks/ev3dev/modules/pybricks
lib/fake-pybricks/pybricks Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ def reset_angle(self, angle):
234234 else :
235235 self .offset = - self ._value (0 ) - angle
236236
237- def calibrate (self ):
237+ def _calibrate (self ):
238238 self ._reset ()
239239 self .reset_angle (0 )
240240
Original file line number Diff line number Diff line change @@ -442,8 +442,11 @@ def reset_angle(self, angle):
442442 """
443443 pass
444444
445- def calibrate (self ):
446- """Calibrate the sensor. This process sets the speed and angle to zero and ensures that the angle value does not drift.
445+ def _calibrate (self ):
446+ """Calibrate the sensor.
447+
448+ This process sets the speed and angle to zero and ensures that the
449+ angle value does not drift.
447450
448451 Make sure that the sensor does not move while calibrating.
449452
You can’t perform that action at this time.
0 commit comments