[wpilib] Document range of Servo angle (NFC) (#3796)

This commit is contained in:
sciencewhiz
2021-12-19 13:53:31 -08:00
committed by GitHub
parent 9778626f34
commit c9e6a96a61
2 changed files with 3 additions and 4 deletions

View File

@@ -55,8 +55,8 @@ class Servo : public PWM {
/**
* Set the servo angle.
*
* Assume that the servo angle is linear with respect to the PWM value (big
* assumption, need to test).
* The angles are based on the HS-322HD Servo, and have a range of 0 to 180
* degrees.
*
* Servo angles that are out of the supported range of the servo simply
* "saturate" in that direction. In other words, if the servo has a range of