commit | 5ea4847bca8761315dd52f71edca8e047996bd09 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Tue Feb 02 20:46:41 2021 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Tue Feb 02 20:48:05 2021 -0800 |
tree | fce59761885d417156bc6be90c5ef02b2d99d910 | |
parent | 56ccbc006c6c33c954df6c27eb280e0377d9e308 [diff] [blame] |
Fix some python2-isms in prep for python3 These ones should work in both versions so we don't have to do them as part of a global change over. Change-Id: I2177b329d385c50d706a50a750b6c115ea3ea7ae
diff --git a/y2016/control_loops/python/shoulder.py b/y2016/control_loops/python/shoulder.py index 6c07725..e17bc7e 100755 --- a/y2016/control_loops/python/shoulder.py +++ b/y2016/control_loops/python/shoulder.py
@@ -188,7 +188,7 @@ else: initial_t = 0 - for i in xrange(iterations): + for i in range(iterations): X_hat = shoulder.X if observer_shoulder is not None: