Add timing instrumentation to wpilib_interface
This lets us know when we change directions on the motor, and when the
control loop executes.
Change-Id: Ic6caa2d38a15734b263c1045e17351517b7312dd
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2022/joystick_reader.cc b/y2022/joystick_reader.cc
index fe52db7..cfd8952 100644
--- a/y2022/joystick_reader.cc
+++ b/y2022/joystick_reader.cc
@@ -215,7 +215,7 @@
// Keep the catapult return position at the shot one if kCatapultPos is
// pressed
if (data.IsPressed(kCatapultPos)) {
- catapult_return_pos = 0.3;
+ catapult_return_pos = 0.7;
} else {
catapult_return_pos = -0.908;
}