Rename PotAndAbsEncoder to be more consistent
$ git sed 's/AbsoluteEstimatorState/PotAndAbsoluteEncoderEstimatorState/'
$ git sed 's/PotAndAbsEncoderZeroingEstimator/PotAndAbsoluteEncoderZeroingEstimator/'
It's a bit all over the place in terms of naming and doesn't leave much
space to name something which is just an absolute encoder.
Change-Id: Iecbee91191bd9cc16eb08fd24b91335ef772beec
diff --git a/frc971/zeroing/zeroing.h b/frc971/zeroing/zeroing.h
index 07cc43a..4d4f13d 100644
--- a/frc971/zeroing/zeroing.h
+++ b/frc971/zeroing/zeroing.h
@@ -215,12 +215,12 @@
// Estimates the position with an absolute encoder which also reports
// incremental counts, and a potentiometer.
-class PotAndAbsEncoderZeroingEstimator
+class PotAndAbsoluteEncoderZeroingEstimator
: public ZeroingEstimator<PotAndAbsolutePosition,
- constants::PotAndAbsoluteEncoderZeroingConstants,
- AbsoluteEstimatorState> {
+ constants::PotAndAbsoluteEncoderZeroingConstants,
+ PotAndAbsoluteEncoderEstimatorState> {
public:
- explicit PotAndAbsEncoderZeroingEstimator(
+ explicit PotAndAbsoluteEncoderZeroingEstimator(
const constants::PotAndAbsoluteEncoderZeroingConstants &constants);
// Resets the internal logic so it needs to be re-zeroed.