Add Position Encoder and Reader PID Plots
The position encoder plot is useful for debugging drivetrain issues
and the reader pid plot tells us if wpilib interface gets reset.
I created a new file for all robot state plots because there is a
maximum number of plots in one plotting function and the limit
was exceeded.
Change-Id: I489a1a786217ace7ded1a05ce6104205566ba70f
diff --git a/frc971/control_loops/drivetrain/BUILD b/frc971/control_loops/drivetrain/BUILD
index d42b97c..1aeec18 100644
--- a/frc971/control_loops/drivetrain/BUILD
+++ b/frc971/control_loops/drivetrain/BUILD
@@ -727,3 +727,13 @@
"//frc971/wpilib:imu_plot_utils",
],
)
+
+ts_library(
+ name = "robot_state_plotter",
+ srcs = ["robot_state_plotter.ts"],
+ target_compatible_with = ["@platforms//os:linux"],
+ deps = [
+ "//aos/network/www:aos_plotter",
+ "//aos/network/www:proxy",
+ ],
+)