@@ -99,7 +99,7 @@ class DutyCycleEncoder : public wpi::Sendable,
9999 *
100100 * @param channel the channel to attach to
101101 * @param fullRange the value to report at maximum travel
102- * @param expectedZero the reading where you would expect a 0 from get ()
102+ * @param expectedZero the reading where you would expect a 0 from Get ()
103103 */
104104 DutyCycleEncoder (int channel, double fullRange, double expectedZero);
105105
@@ -108,7 +108,7 @@ class DutyCycleEncoder : public wpi::Sendable,
108108 *
109109 * @param dutyCycle the duty cycle to attach to
110110 * @param fullRange the value to report at maximum travel
111- * @param expectedZero the reading where you would expect a 0 from get ()
111+ * @param expectedZero the reading where you would expect a 0 from Get ()
112112 */
113113 DutyCycleEncoder (DutyCycle& dutyCycle, double fullRange, double expectedZero);
114114
@@ -117,7 +117,7 @@ class DutyCycleEncoder : public wpi::Sendable,
117117 *
118118 * @param dutyCycle the duty cycle to attach to
119119 * @param fullRange the value to report at maximum travel
120- * @param expectedZero the reading where you would expect a 0 from get ()
120+ * @param expectedZero the reading where you would expect a 0 from Get ()
121121 */
122122 DutyCycleEncoder (DutyCycle* dutyCycle, double fullRange, double expectedZero);
123123
@@ -126,7 +126,7 @@ class DutyCycleEncoder : public wpi::Sendable,
126126 *
127127 * @param dutyCycle the duty cycle to attach to
128128 * @param fullRange the value to report at maximum travel
129- * @param expectedZero the reading where you would expect a 0 from get ()
129+ * @param expectedZero the reading where you would expect a 0 from Get ()
130130 */
131131 DutyCycleEncoder (std::shared_ptr<DutyCycle> dutyCycle, double fullRange,
132132 double expectedZero);
@@ -136,7 +136,7 @@ class DutyCycleEncoder : public wpi::Sendable,
136136 *
137137 * @param digitalSource the digital source to attach to
138138 * @param fullRange the value to report at maximum travel
139- * @param expectedZero the reading where you would expect a 0 from get ()
139+ * @param expectedZero the reading where you would expect a 0 from Get ()
140140 */
141141 DutyCycleEncoder (DigitalSource& digitalSource, double fullRange,
142142 double expectedZero);
@@ -146,7 +146,7 @@ class DutyCycleEncoder : public wpi::Sendable,
146146 *
147147 * @param digitalSource the digital source to attach to
148148 * @param fullRange the value to report at maximum travel
149- * @param expectedZero the reading where you would expect a 0 from get ()
149+ * @param expectedZero the reading where you would expect a 0 from Get ()
150150 */
151151 DutyCycleEncoder (DigitalSource* digitalSource, double fullRange,
152152 double expectedZero);
@@ -156,7 +156,7 @@ class DutyCycleEncoder : public wpi::Sendable,
156156 *
157157 * @param digitalSource the digital source to attach to
158158 * @param fullRange the value to report at maximum travel
159- * @param expectedZero the reading where you would expect a 0 from get ()
159+ * @param expectedZero the reading where you would expect a 0 from Get ()
160160 */
161161 DutyCycleEncoder (std::shared_ptr<DigitalSource> digitalSource,
162162 double fullRange, double expectedZero);
@@ -199,12 +199,12 @@ class DutyCycleEncoder : public wpi::Sendable,
199199 void SetConnectedFrequencyThreshold (int frequency);
200200
201201 /* *
202- * Get the encoder value.
202+ * Get the encoder value in rotations .
203203 *
204204 * @warning This will return inaccurate values for up to 2 seconds after this
205205 * encoder is initialized unless SetAssumedFrequency() is used.
206206 *
207- * @return the encoder value scaled by the full range input
207+ * @return the encoder value in rotations
208208 */
209209 double Get () const ;
210210
0 commit comments