Add climber code without tests
This runs a loop to follow the request.
Signed-off-by: Siddhant Kanwar <kanwarsiddhant@gmail.com>
Change-Id: Iad516390561175f74eb33e0cda6a505376a372ed
diff --git a/frc971/zeroing/zeroing.h b/frc971/zeroing/zeroing.h
index 0e90e3f..028194c 100644
--- a/frc971/zeroing/zeroing.h
+++ b/frc971/zeroing/zeroing.h
@@ -126,10 +126,12 @@
// A trivial ZeroingEstimator which just passes the position straight through.
class RelativeEncoderZeroingEstimator
- : public ZeroingEstimator<RelativePosition, void,
+ : public ZeroingEstimator<RelativePosition,
+ constants::RelativeEncoderZeroingConstants,
RelativeEncoderEstimatorState> {
public:
- explicit RelativeEncoderZeroingEstimator() {}
+ explicit RelativeEncoderZeroingEstimator(
+ const constants::RelativeEncoderZeroingConstants &) {}
// Update position with new position from encoder
void UpdateEstimate(const RelativePosition &position) override {