Change ZeroingEstimator constructors to explicit
Change-Id: I6dc6df30d7351ac52f4a8a06dfea57bbf1a47fdf
diff --git a/y2016/control_loops/superstructure/superstructure_controls.cc b/y2016/control_loops/superstructure/superstructure_controls.cc
index 13a949a..a522e40 100644
--- a/y2016/control_loops/superstructure/superstructure_controls.cc
+++ b/y2016/control_loops/superstructure/superstructure_controls.cc
@@ -42,8 +42,10 @@
: ProfiledSubsystem(
::std::unique_ptr<ArmControlLoop>(new ArmControlLoop(
::y2016::control_loops::superstructure::MakeIntegralArmLoop())),
- {{constants::GetValues().shoulder.zeroing,
- constants::GetValues().wrist.zeroing}}),
+ {{::frc971::zeroing::PotAndIndexPulseZeroingEstimator(
+ constants::GetValues().shoulder.zeroing),
+ ::frc971::zeroing::PotAndIndexPulseZeroingEstimator(
+ constants::GetValues().wrist.zeroing)}}),
shoulder_profile_(::aos::controls::kLoopFrequency),
wrist_profile_(::aos::controls::kLoopFrequency) {
Y_.setZero();