aboutsummaryrefslogtreecommitdiffstats
path: root/System/pendulum/errorTestScript.py
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-02-18 13:41:58 -0600
committerMatt Strapp <matt@mattstrapp.net>2022-02-18 13:41:58 -0600
commit4a05620653bddfd087fc631f402d82baee352d3e (patch)
tree625650ec085a807fcff04937e1abd92128794e28 /System/pendulum/errorTestScript.py
parentUpdate submodules, again (diff)
downloadee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar.gz
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar.bz2
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar.lz
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar.xz
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.tar.zst
ee4511w-4a05620653bddfd087fc631f402d82baee352d3e.zip
Add requirements, force tests in specific dir
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'System/pendulum/errorTestScript.py')
-rw-r--r--System/pendulum/errorTestScript.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/System/pendulum/errorTestScript.py b/System/pendulum/errorTestScript.py
deleted file mode 100644
index cb029d5..0000000
--- a/System/pendulum/errorTestScript.py
+++ /dev/null
@@ -1,42 +0,0 @@
-
-import sys
-sys.path.insert(0, '/home/pi/pendulum/System')
-from System.system import System
-import time
-from sys import exit
-#import pandas
-
-
-sys = System(angular_units = 'Radians')
-
-for x in range(0,10:
- angle, linear = sys.measure()
- print("Angle: " + str(angle) + ", Linear: " + str(linear))
- sys.add_results(linear, angle, angle)
- time.sleep(0.2)
-
-
-exit()
-
-
-
-
-
-
-
-
-#class test():
-# def __init__(self, x, theta):
-# self.x = 0
-# self.theta = 0
-#
-# def getINFO(self, theta):
-# #theta, x = self.System.measure()
-# theta, x = self.sys.measure()
-#
-#while(1):
-# test.getINFO()
-# print("t")
-# #print("theta",test.theta)
-# #print("x",test.x)
-# \ No newline at end of file