From 83bee0202cae3281d0c616c735a3ea605383f71d Mon Sep 17 00:00:00 2001 From: Joel McCandless Date: Wed, 1 May 2024 20:54:18 -0400 Subject: [PATCH] add speed type annotations --- docs/source/nanonav.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/nanonav.py b/docs/source/nanonav.py index de63249..b804d09 100644 --- a/docs/source/nanonav.py +++ b/docs/source/nanonav.py @@ -147,6 +147,7 @@ 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 @@ -154,6 +155,7 @@ 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 @@ -161,6 +163,7 @@ 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 @@ -168,6 +171,7 @@ 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