diff options
author | Matt Strapp <matt@mattstrapp.net> | 2022-02-18 12:41:51 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2022-02-18 12:41:51 -0600 |
commit | 1337de59b712c30c447b2b45de9ec54ecd6d8ea4 (patch) | |
tree | 6c0fc73eeee869bd01392a849fc547a2552cb919 /System/Pendulum | |
parent | Change git repo to organization repos (diff) | |
download | ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar.gz ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar.bz2 ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar.lz ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar.xz ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.tar.zst ee4511w-1337de59b712c30c447b2b45de9ec54ecd6d8ea4.zip |
Hopefully get the system able to be packaged
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | System/Pendulum/__init__.py | 3 | ||||
-rw-r--r-- | System/Pendulum/encoder.py (renamed from System/encoder.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/errorTestScript.py (renamed from System/errorTestScript.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/homework8.ipynb (renamed from System/homework8.ipynb) | 0 | ||||
-rw-r--r-- | System/Pendulum/initialize_system.py (renamed from System/initialize_system.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/motor.py (renamed from System/motor.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/results.csv (renamed from System/results.csv) | 0 | ||||
-rw-r--r-- | System/Pendulum/swingUp.py (renamed from System/swingUp.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/system.py (renamed from System/system.py) | 4 | ||||
-rw-r--r-- | System/Pendulum/system_swingup_test.py (renamed from System/system_swingup_test.py) | 0 | ||||
-rw-r--r-- | System/Pendulum/system_swingup_test_2.py (renamed from System/system_swingup_test_2.py) | 0 |
11 files changed, 5 insertions, 2 deletions
diff --git a/System/Pendulum/__init__.py b/System/Pendulum/__init__.py new file mode 100644 index 0000000..510ffea --- /dev/null +++ b/System/Pendulum/__init__.py @@ -0,0 +1,3 @@ +from .motor import Motor +from system import System +from encoder import Encoder
\ No newline at end of file diff --git a/System/encoder.py b/System/Pendulum/encoder.py index ece7fd1..ece7fd1 100644 --- a/System/encoder.py +++ b/System/Pendulum/encoder.py diff --git a/System/errorTestScript.py b/System/Pendulum/errorTestScript.py index cb029d5..cb029d5 100644 --- a/System/errorTestScript.py +++ b/System/Pendulum/errorTestScript.py diff --git a/System/homework8.ipynb b/System/Pendulum/homework8.ipynb index a9c28c9..a9c28c9 100644 --- a/System/homework8.ipynb +++ b/System/Pendulum/homework8.ipynb diff --git a/System/initialize_system.py b/System/Pendulum/initialize_system.py index 38b7134..38b7134 100644 --- a/System/initialize_system.py +++ b/System/Pendulum/initialize_system.py diff --git a/System/motor.py b/System/Pendulum/motor.py index 427d393..427d393 100644 --- a/System/motor.py +++ b/System/Pendulum/motor.py diff --git a/System/results.csv b/System/Pendulum/results.csv index ca22685..ca22685 100644 --- a/System/results.csv +++ b/System/Pendulum/results.csv diff --git a/System/swingUp.py b/System/Pendulum/swingUp.py index fb5d4c0..fb5d4c0 100644 --- a/System/swingUp.py +++ b/System/Pendulum/swingUp.py diff --git a/System/system.py b/System/Pendulum/system.py index 49c35d2..21439aa 100644 --- a/System/system.py +++ b/System/Pendulum/system.py @@ -1,6 +1,6 @@ #!/usr/bin/env python
-from motor import Motor
-from encoder import Encoder
+from .motor import Motor
+from .encoder import Encoder
import math
from datetime import datetime
from time import sleep
diff --git a/System/system_swingup_test.py b/System/Pendulum/system_swingup_test.py index e13c7ca..e13c7ca 100644 --- a/System/system_swingup_test.py +++ b/System/Pendulum/system_swingup_test.py diff --git a/System/system_swingup_test_2.py b/System/Pendulum/system_swingup_test_2.py index fc02ed6..fc02ed6 100644 --- a/System/system_swingup_test_2.py +++ b/System/Pendulum/system_swingup_test_2.py |