Skip to content

Commit

Permalink
add speed type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccand committed May 2, 2024
1 parent af79389 commit 83bee02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/nanonav.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,27 +147,31 @@ def m1_forward(self, speed):
"""
Set Motor 1 to turn forward at speed.
:param speed: The speed to turn Motor 1 forward at. This is a percentage of max speed from 0-100.
:type speed: int or float
"""
pass

def m2_backward(self, speed):
"""
Set Motor 1 to turn backward at speed.
:param speed: The speed to turn Motor 1 backward at. This is a percentage of max speed from 0-100.
:type speed: int or float
"""
pass

def m2_forward(self, speed):
"""
Set Motor 2 to turn forward at speed.
:param speed: The speed to turn Motor 2 forward at. This is a percentage of max speed from 0-100.
:type speed: int or float
"""
pass

def m2_backward(self, speed):
"""
Set Motor 2 to turn backward at speed.
:param speed: The speed to turn Motor 2 backward at. This is a percentage of max speed from 0-100.
:type speed: int or float
"""
pass

Expand Down

0 comments on commit 83bee02

Please sign in to comment.