mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
pybricks.robotics: Add GyroDriveBase.
This commit is contained in:
committed by
laurensvalk
parent
95a12a7386
commit
8bca5eb6e4
@@ -222,6 +222,12 @@ class DriveBase:
|
||||
"""
|
||||
|
||||
|
||||
class GyroDriveBase(DriveBase):
|
||||
"""A robotic vehicle with two powered wheels and an optional support
|
||||
wheel or caster. It measures the heading using the hub's built-in gyroscope,
|
||||
which can make turning and driving straight more accurate."""
|
||||
|
||||
|
||||
# HACK: hide from jedi
|
||||
if TYPE_CHECKING:
|
||||
del Motor
|
||||
|
||||
Reference in New Issue
Block a user