added a force fire mode to the indexer for clearing jams
diff --git a/frc971/autonomous/auto.cc b/frc971/autonomous/auto.cc
index 673368a..9b41633 100644
--- a/frc971/autonomous/auto.cc
+++ b/frc971/autonomous/auto.cc
@@ -50,25 +50,25 @@
void StartIndex() {
LOG(INFO, "Starting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(2).Send();
+ .goal_state(2).force_fire(false).Send();
}
void PreloadIndex() {
LOG(INFO, "Preloading index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(3).Send();
+ .goal_state(3).force_fire(false).Send();
}
void ShootIndex() {
LOG(INFO, "Shooting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(4).Send();
+ .goal_state(4).force_fire(false).Send();
}
void ResetIndex() {
LOG(INFO, "Resetting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(5).Send();
+ .goal_state(5).force_fire(false).Send();
}
void WaitForIndexReset() {