aboutsummaryrefslogtreecommitdiffstats
path: root/System/Pendulum/initialize_system.py
diff options
context:
space:
mode:
Diffstat (limited to 'System/Pendulum/initialize_system.py')
-rw-r--r--System/Pendulum/initialize_system.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/System/Pendulum/initialize_system.py b/System/Pendulum/initialize_system.py
deleted file mode 100644
index 38b7134..0000000
--- a/System/Pendulum/initialize_system.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# This file should be run on system startup. It will initialize the linear position to the center so that all tests originate from a proper position.
-# The center is found by using the hardware limit switches
-from system import System
-import RPi.GPIO as GPIO
-
-# Main program
-print("Got to init")
-sys = System()
-sys.initialize()
-GPIO.cleanup()
-
-
-##debug version
-#print("alive")
-#sys = System()
-#limit_negative_pin = 19
-#while(1):
-# print(GPIO.input(limit_negative_pin)) \ No newline at end of file