aboutsummaryrefslogtreecommitdiffstats
path: root/System/test_System.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--System/test_System.py (renamed from System_Python/test_System.py)10
1 files changed, 5 insertions, 5 deletions
diff --git a/System_Python/test_System.py b/System/test_System.py
index 32ff56d..21ed336 100644
--- a/System_Python/test_System.py
+++ b/System/test_System.py
@@ -10,12 +10,12 @@ def control_function(angle):
return (abs(angle) / 180.0) * 100.0
# Main program
-sys = System()
+sys = System(angular_units = 'Radians')
while 1:
angle, linear = sys.measure()
- #print(angle)
- speed = control_function(angle)
+ print(angle)
+ """speed = control_function(angle)
print(speed)
- sys.adjust(speed)
+ sys.adjust(speed)"""
time.sleep(0.05)
- \ No newline at end of file
+