Skip to content

Commit 3a19ff7

Browse files
author
Daniel Walton
committed
Revert "MoveDifferential: use gyro for better accuracy (ev3dev#705)"
This reverts commit 69e7bde.
1 parent 69e7bde commit 3a19ff7

10 files changed

Lines changed: 144 additions & 272 deletions

File tree

‎debian/changelog‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ python-ev3dev2 (2.1.0) UNRELEASED; urgency=medium
33
[Daniel Walton]
44
* RPyC update docs and make it easier to use
55
* use double backticks consistently in docstrings
6-
* MoveDifferential use gyro for better accuracy. Make MoveTank and
7-
MoveDifferential "turn" APIs more consistent.
86

97
[Matěj Volf]
108
* LED animation fix duration None
@@ -14,7 +12,7 @@ python-ev3dev2 (2.1.0) UNRELEASED; urgency=medium
1412
* Add "value_secs" and "is_elapsed_*" methods to StopWatch
1513
* Rename "value_hms" to "hms_str". New "value_hms" returns original tuple.
1614
* Fix bug in Button.process() on Micropython
17-
15+
1816
[Nithin Shenoy]
1917
* Add Gyro-based driving support to MoveTank
2018

‎ev3dev2/__init__.py‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ def library_load_warning_message(library_name, dependent_class):
142142
class DeviceNotFound(Exception):
143143
pass
144144

145-
class DeviceNotDefined(Exception):
146-
pass
147-
148-
class ThreadNotRunning(Exception):
149-
pass
150-
151145
# -----------------------------------------------------------------------------
152146
# Define the base class from which all other ev3dev classes are defined.
153147

@@ -220,7 +214,7 @@ def __str__(self):
220214
return "%s(%s)" % (self.__class__.__name__, self.kwargs.get('address'))
221215
else:
222216
return self.__class__.__name__
223-
217+
224218
def __repr__(self):
225219
return self.__str__()
226220

0 commit comments

Comments
 (0)