Add Climber Superstructure
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: Ic2ef4e2fd7c7445402617ded6d7bab19329b2fea
diff --git a/y2024/control_loops/superstructure/superstructure.h b/y2024/control_loops/superstructure/superstructure.h
index 67a8328..88db2e2 100644
--- a/y2024/control_loops/superstructure/superstructure.h
+++ b/y2024/control_loops/superstructure/superstructure.h
@@ -34,6 +34,10 @@
return intake_pivot_;
}
+ inline const PotAndAbsoluteEncoderSubsystem &climber() const {
+ return climber_;
+ }
+
double robot_velocity() const;
protected:
@@ -53,7 +57,7 @@
TransferRollerGoal transfer_goal_;
PotAndAbsoluteEncoderSubsystem intake_pivot_;
-
+ PotAndAbsoluteEncoderSubsystem climber_;
DISALLOW_COPY_AND_ASSIGN(Superstructure);
};