aboutsummaryrefslogtreecommitdiffstats
path: root/System/initialize_system.py
diff options
context:
space:
mode:
authorRaspberry Pi <raspberrypi@umn.edu>2019-11-20 01:22:22 -0600
committerRaspberry Pi <raspberrypi@umn.edu>2019-11-20 01:22:22 -0600
commitcaa2d9c446f5901671d30e52b1aaa4c56ef2f25c (patch)
treee541778f97d291c6bc4f160b4ec8cd9d24d538fb /System/initialize_system.py
parentFixed encoder zeroing. Other minor changes, still trying to get the swingup c... (diff)
downloadee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar.gz
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar.bz2
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar.lz
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar.xz
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.tar.zst
ee4511w-caa2d9c446f5901671d30e52b1aaa4c56ef2f25c.zip
Rework directory structure. Modify result file printing to match requirements of web server.
Diffstat (limited to 'System/initialize_system.py')
-rw-r--r--System/initialize_system.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/System/initialize_system.py b/System/initialize_system.py
new file mode 100644
index 0000000..4eb287a
--- /dev/null
+++ b/System/initialize_system.py
@@ -0,0 +1,7 @@
+# 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
+
+# Main program
+sys = System()
+sys.initialize()