diff --git a/wpilibc/src/main/native/include/frc/Servo.h b/wpilibc/src/main/native/include/frc/Servo.h index 256a46a165..96cbfa40a4 100644 --- a/wpilibc/src/main/native/include/frc/Servo.h +++ b/wpilibc/src/main/native/include/frc/Servo.h @@ -46,7 +46,8 @@ class Servo : public PWM { * Get the servo position. * * Servo values range from 0.0 to 1.0 corresponding to the range of full left - * to full right. + * to full right. This returns the commanded position, not the position that + * the servo is actually at, as the servo does not report its own position. * * @return Position from 0.0 to 1.0. */ @@ -71,8 +72,8 @@ class Servo : public PWM { /** * Get the servo angle. * - * Assume that the servo angle is linear with respect to the PWM value (big - * assumption, need to test). + * This returns the commanded angle, not the angle that the servo is actually + * at, as the servo does not report its own angle. * * @return The angle in degrees to which the servo is set. */ diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Servo.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Servo.java index b4ab3dd954..f45eec59b3 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Servo.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Servo.java @@ -55,6 +55,8 @@ public class Servo extends PWM { * Get the servo position. * *

Servo values range from 0.0 to 1.0 corresponding to the range of full left to full right. + * This returns the commanded position, not the position that the servo is actually at, as the + * servo does not report its own position. * * @return Position from 0.0 to 1.0. */ @@ -87,8 +89,8 @@ public class Servo extends PWM { /** * Get the servo angle. * - *

Assume that the servo angle is linear with respect to the PWM value (big assumption, need to - * test). + *

This returns the commanded angle, not the angle that the servo is actually at, as the servo + * does not report its own angle. * * @return The angle in degrees to which the servo is set. */