Create CANPosition sender
Read the velocity of the integrated sensor on the flipper arms over can
and send it in it's own position message
Signed-off-by: Ravago Jones <ravagojones@gmail.com>
Change-Id: I3fa46526c2577f7cd1331924125bdad59111eb63
diff --git a/y2022/BUILD b/y2022/BUILD
index 02d1bb1..fd82eb5 100644
--- a/y2022/BUILD
+++ b/y2022/BUILD
@@ -155,6 +155,7 @@
"//y2022/control_loops/superstructure:superstructure_goal_fbs",
"//y2022/control_loops/superstructure:superstructure_output_fbs",
"//y2022/control_loops/superstructure:superstructure_position_fbs",
+ "//y2022/control_loops/superstructure:superstructure_can_position_fbs",
"//y2022/control_loops/superstructure:superstructure_status_fbs",
],
target_compatible_with = ["@platforms//os:linux"],
@@ -238,6 +239,7 @@
"//frc971/wpilib:wpilib_robot_base",
"//third_party:phoenix",
"//third_party:wpilib",
+ "//y2022/control_loops/superstructure:superstructure_can_position_fbs",
"//y2022/control_loops/superstructure:superstructure_output_fbs",
"//y2022/control_loops/superstructure:superstructure_position_fbs",
],