mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-15 11:04:55 +00:00
pybricks.robotics.DriveBase: Fix arg name in type hints.
This fixes the `speed` arg name in the `DriveBase.drive()` method in the type hint file. Fixes #76.
This commit is contained in:
committed by
David Lechner
parent
a8ab8b2314
commit
677656f669
@@ -14,7 +14,7 @@ class DriveBase:
|
||||
wheel_diameter: Union[int, float],
|
||||
axle_track: Union[int, float],
|
||||
): ...
|
||||
def drive(self, drive_speed: int, turn_rate: int) -> None: ...
|
||||
def drive(self, speed: int, turn_rate: int) -> None: ...
|
||||
def stop(self) -> None: ...
|
||||
def distance(self) -> int: ...
|
||||
def angle(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user