← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/DWM.py
diff options
context:
space:
mode:
Diffstat (limited to 'DWM.py')
-rwxr-xr-xDWM.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/DWM.py b/DWM.py
index 39c599b..45a2f6f 100755
--- a/DWM.py
+++ b/DWM.py
@@ -29,7 +29,7 @@ kf.x = np.array([0., 0.])
kf.P *= 1000
# Noise matrix
-kf.R = np.diag([25, 25])
+kf.R = np.diag([100, 100])
kf.Q = np.eye(2)
@@ -37,7 +37,7 @@ position = deque([(0, 0)])
updRate = "1 1" # Active Idle
-with serial.Serial('/dev/ttyACM0', 115200, timeout = 1) as s:
+with serial.Serial('/dev/ttyACM1', 115200, timeout = 1) as s:
# print(f"Opened serial port {s.name}")