Update Catapult to mostly just be an AngularSystem
The code was mostly duplicated, just the analysis/plotting was
different. Update the python file to match. This lets us wrap position
loops around it all to return the catapult to the starting position.
Change-Id: I7a60f1d07f812c91cca767d6c737f8ae6c21e8d2
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2022/control_loops/python/BUILD b/y2022/control_loops/python/BUILD
index 286b874..17f7b2a 100644
--- a/y2022/control_loops/python/BUILD
+++ b/y2022/control_loops/python/BUILD
@@ -55,6 +55,8 @@
],
target_compatible_with = ["@platforms//cpu:x86_64"],
deps = [
+ "//aos/util:py_trapezoid_profile",
+ "//frc971/control_loops/python:angular_system",
"//frc971/control_loops/python:controls",
"@matplotlib_repo//:matplotlib3",
],