Added intake and joint to superstructure and tests.
Change-Id: Ibdf15b6bade03c1bd21113490c5c4d12e7edadf9
diff --git a/y2020/control_loops/superstructure/superstructure.h b/y2020/control_loops/superstructure/superstructure.h
index dbc1ccd..680b447 100644
--- a/y2020/control_loops/superstructure/superstructure.h
+++ b/y2020/control_loops/superstructure/superstructure.h
@@ -25,6 +25,7 @@
::frc971::control_loops::AbsoluteEncoderProfiledJointStatus>;
const AbsoluteEncoderSubsystem &hood() const { return hood_; }
+ const AbsoluteEncoderSubsystem &intake_joint() const { return intake_joint_; }
protected:
virtual void RunIteration(const Goal *unsafe_goal, const Position *position,
@@ -33,6 +34,7 @@
private:
AbsoluteEncoderSubsystem hood_;
+ AbsoluteEncoderSubsystem intake_joint_;
DISALLOW_COPY_AND_ASSIGN(Superstructure);
};