commit | ab0b677a3b87fb21f826e3969fe496c01e55f97d | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun Feb 05 16:16:21 2017 -0800 |
committer | Brian Silverman <brians> | Sun Feb 05 16:16:21 2017 -0800 |
tree | 3f6ba1e77b635cc4afdb721759e514f759ec0061 | |
parent | f8f0311068624e65448428e21d1ce4b779a44040 [diff] |
Template the ZeroingEstimator type We want to use several different ones this year. Change-Id: Icb71f331e410da32fc6f2d18c5f28b21995849a5
diff --git a/y2016/control_loops/superstructure/superstructure_controls.cc b/y2016/control_loops/superstructure/superstructure_controls.cc index ba7576a..ce334bf 100644 --- a/y2016/control_loops/superstructure/superstructure_controls.cc +++ b/y2016/control_loops/superstructure/superstructure_controls.cc
@@ -29,7 +29,7 @@ // Intake Intake::Intake() - : ::frc971::control_loops::SingleDOFProfiledSubsystem( + : ::frc971::control_loops::SingleDOFProfiledSubsystem<>( ::std::unique_ptr< ::frc971::control_loops::SimpleCappedStateFeedbackLoop<3, 1, 1>>( new ::frc971::control_loops::SimpleCappedStateFeedbackLoop<
diff --git a/y2016/control_loops/superstructure/superstructure_controls.h b/y2016/control_loops/superstructure/superstructure_controls.h index 7f7370f..8f3a59e 100644 --- a/y2016/control_loops/superstructure/superstructure_controls.h +++ b/y2016/control_loops/superstructure/superstructure_controls.h
@@ -98,7 +98,7 @@ } }; -class Intake : public ::frc971::control_loops::SingleDOFProfiledSubsystem { +class Intake : public ::frc971::control_loops::SingleDOFProfiledSubsystem<> { public: Intake(); };