commit | 17dd089d6679e57156fe774c08c30b6ff877dc60 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Fri Mar 02 20:06:31 2018 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sat Mar 03 00:01:35 2018 -0800 |
tree | 0af5da5e0b79b7f7c08f1392f9ac88695e162695 | |
parent | 6829f76c133dc4d25ae61c8bdd02e31c87bc1ff7 [diff] [blame] |
Tuned intake. Change-Id: I028f6cbb8df55d281734ca39abb4f62b7fd27793
diff --git a/y2018/control_loops/superstructure/superstructure.h b/y2018/control_loops/superstructure/superstructure.h index ade5047..2081e6c 100644 --- a/y2018/control_loops/superstructure/superstructure.h +++ b/y2018/control_loops/superstructure/superstructure.h
@@ -36,6 +36,15 @@ intake::IntakeSide intake_right_; arm::Arm arm_; + enum class RotationState { + NOT_ROTATING = 0, + ROTATING_LEFT = 1, + ROTATING_RIGHT = 2 + }; + + RotationState rotation_state_ = RotationState::NOT_ROTATING; + int rotation_count_ = 0; + DISALLOW_COPY_AND_ASSIGN(Superstructure); };