Got shoot action stuff building.
Still need to clean some stuff up and get it working and test it and all that fancy stuff.
diff --git a/frc971/constants.h b/frc971/constants.h
index 8222bbe..7d06a70 100755
--- a/frc971/constants.h
+++ b/frc971/constants.h
@@ -99,6 +99,19 @@
double max_zeroing_voltage;
};
Claws claw;
+
+ // Has all the constants for the ShootAction class.
+ struct ShooterAction {
+ // Minimum separation required between the claws in order to be able to
+ // shoot.
+ double claw_shooting_separation;
+
+ // Goal to send to the claw when opening it up in preparation for shooting;
+ // should be larger than claw_shooting_separation so that we can shoot
+ // promptly.
+ double claw_separation_goal;
+ };
+ ShooterAction shooter_action;
};
// Creates (once) a Values instance and returns a reference to it.