added more manual overrides to the indexer
diff --git a/frc971/autonomous/auto.cc b/frc971/autonomous/auto.cc
index 5c076c6..1a2a46a 100644
--- a/frc971/autonomous/auto.cc
+++ b/frc971/autonomous/auto.cc
@@ -50,25 +50,37 @@
void StartIndex() {
LOG(INFO, "Starting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(2).force_fire(false).Send();
+ .goal_state(2)
+ .force_fire(false)
+ .override_index(false)
+ .Send();
}
void PreloadIndex() {
LOG(INFO, "Preloading index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(3).force_fire(false).Send();
+ .goal_state(3)
+ .force_fire(false)
+ .override_index(false)
+ .Send();
}
void ShootIndex() {
LOG(INFO, "Shooting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(4).force_fire(false).Send();
+ .goal_state(4)
+ .force_fire(false)
+ .override_index(false)
+ .Send();
}
void ResetIndex() {
LOG(INFO, "Resetting index\n");
control_loops::index_loop.goal.MakeWithBuilder()
- .goal_state(5).force_fire(false).Send();
+ .goal_state(5)
+ .force_fire(false)
+ .override_index(false)
+ .Send();
}
void WaitForIndexReset() {