renamed lift to stilts
Change-Id: I38e058ba7eadb4f45c8ef4639e8abb387c1f0afb
diff --git a/y2019/control_loops/python/BUILD b/y2019/control_loops/python/BUILD
index f3e4ca1..b038507 100644
--- a/y2019/control_loops/python/BUILD
+++ b/y2019/control_loops/python/BUILD
@@ -105,9 +105,9 @@
)
py_binary(
- name = "lift",
+ name = "stilts",
srcs = [
- "lift.py",
+ "stilts.py",
],
legacy_create_init = False,
restricted_to = ["//tools:k8"],
diff --git a/y2019/control_loops/python/lift.py b/y2019/control_loops/python/stilts.py
similarity index 82%
rename from y2019/control_loops/python/lift.py
rename to y2019/control_loops/python/stilts.py
index dab2754..8faa5d4 100755
--- a/y2019/control_loops/python/lift.py
+++ b/y2019/control_loops/python/stilts.py
@@ -14,8 +14,8 @@
except gflags.DuplicateFlagError:
pass
-kLift = linear_system.LinearSystemParams(
- name='Lift',
+kStilts = linear_system.LinearSystemParams(
+ name='Stilts',
motor=control_loop.Vex775Pro(),
G=(12.0 / 100.0) * (14.0 / 52.0),
# 5mm pitch, 18 tooth
@@ -34,8 +34,8 @@
def main(argv):
if FLAGS.plot:
R = numpy.matrix([[1.5], [0.0]])
- linear_system.PlotKick(kLift, R)
- linear_system.PlotMotion(kLift, R, max_velocity=5.0)
+ linear_system.PlotKick(kStilts, R)
+ linear_system.PlotMotion(kStilts, R, max_velocity=5.0)
# Write the generated constants out to a file.
if len(argv) != 5:
@@ -43,8 +43,8 @@
'Expected .h file name and .cc file name for the elevator and integral elevator.'
)
else:
- namespaces = ['y2019', 'control_loops', 'superstructure', 'lift']
- linear_system.WriteLinearSystem(kLift, argv[1:3], argv[3:5],
+ namespaces = ['y2019', 'control_loops', 'superstructure', 'stilts']
+ linear_system.WriteLinearSystem(kStilts, argv[1:3], argv[3:5],
namespaces)