Speed up catapult
We got a new gear ratio. Fix some state machine transitions as well to
let us reload the catapult while grabbing the next ball, and to fire
immediately too.
Change-Id: I930af58db609815d4fa639fa37b66caa011b6b94
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
diff --git a/y2022/joystick_reader.cc b/y2022/joystick_reader.cc
index 05f3008..7fb6706 100644
--- a/y2022/joystick_reader.cc
+++ b/y2022/joystick_reader.cc
@@ -298,7 +298,7 @@
if (turret_pos.has_value()) {
turret_offset = CreateStaticZeroingSingleDOFProfiledSubsystemGoal(
*builder.fbb(), turret_pos.value(),
- CreateProfileParameters(*builder.fbb(), 12.0, 20.0));
+ CreateProfileParameters(*builder.fbb(), 10.0, 20.0));
}
flatbuffers::Offset<StaticZeroingSingleDOFProfiledSubsystemGoal>