Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
18fed0e
odometry gyroscope progress
dwalton76 Apr 21, 2019
a549eb3
Merge branch 'ev3dev-stretch' of https://github.com/dwalton76/ev3dev-…
dwalton76 Apr 24, 2019
c1f26c9
More gyro _turn() progress
dwalton76 Apr 26, 2019
e57cdcb
Merge branch 'ev3dev-stretch' of https://github.com/dwalton76/ev3dev-…
dwalton76 Dec 29, 2019
2bda8cb
MoveDifferential Odometry: add gyro support for better accuracy
dwalton76 Dec 30, 2019
59233d2
MoveDifferential Odometry: add gyro support for better accuracy
dwalton76 Jan 1, 2020
bfbc5ef
MoveDifferential Odometry: add gyro support for better accuracy
dwalton76 Jan 1, 2020
b1db6cf
MoveDifferential Odometry: add gyro support for better accuracy
dwalton76 Jan 1, 2020
8f2aa2c
MoveDifferential Odometry: add gyro support for better accuracy
dwalton76 Jan 1, 2020
d442c00
Merge branch 'ev3dev-stretch' of https://github.com/dwalton76/ev3dev-…
dwalton76 Jan 1, 2020
903011d
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 1, 2020
46b22df
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 1, 2020
417dd04
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 1, 2020
20e330f
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 1, 2020
1aca55a
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 4, 2020
e4a8b88
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 4, 2020
fb62b51
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 4, 2020
432c9ae
MoveDifferential._turn() use gyro for better accuracy
dwalton76 Jan 4, 2020
78c855e
MoveDifferential use gyro for better accuracy
dwalton76 Jan 11, 2020
bcec471
Merge branch 'odometry-gryo' of https://github.com/dwalton76/ev3dev-l…
dwalton76 Jan 11, 2020
c7ea55b
Merge branch 'ev3dev-stretch' of https://github.com/dwalton76/ev3dev-…
dwalton76 Jan 11, 2020
c661216
MoveDifferential use gyro for better accuracy
dwalton76 Jan 12, 2020
2fac43d
Merge branch 'ev3dev-stretch' of https://github.com/dwalton76/ev3dev-…
dwalton76 Jan 15, 2020
166db25
MoveDifferential use gyro for better accuracy
dwalton76 Jan 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ python-ev3dev2 (2.1.0) UNRELEASED; urgency=medium
[Daniel Walton]
* RPyC update docs and make it easier to use
* use double backticks consistently in docstrings
* MoveDifferential use gyro for better accuracy. Make MoveTank and
MoveDifferential "turn" APIs more consistent.

[Matěj Volf]
* LED animation fix duration None
Expand All @@ -12,7 +14,7 @@ python-ev3dev2 (2.1.0) UNRELEASED; urgency=medium
* Add "value_secs" and "is_elapsed_*" methods to StopWatch
* Rename "value_hms" to "hms_str". New "value_hms" returns original tuple.
* Fix bug in Button.process() on Micropython

[Nithin Shenoy]
* Add Gyro-based driving support to MoveTank

Expand Down
8 changes: 7 additions & 1 deletion ev3dev2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ def library_load_warning_message(library_name, dependent_class):
class DeviceNotFound(Exception):
pass

class DeviceNotDefined(Exception):
pass

class ThreadNotRunning(Exception):
pass

# -----------------------------------------------------------------------------
# Define the base class from which all other ev3dev classes are defined.

Expand Down Expand Up @@ -214,7 +220,7 @@ def __str__(self):
return "%s(%s)" % (self.__class__.__name__, self.kwargs.get('address'))
else:
return self.__class__.__name__

def __repr__(self):
return self.__str__()

Expand Down
Loading