Skip to content

Commit

Permalink
Correct servo bounds (wpilibsuite#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Sep 25, 2021
1 parent 7491a74 commit f29b5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/docs/software/hardware-apis/motors/servos.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Repeatable Low Power Movement - Controlling Servos with WPILib
==============================================================

Servo motors are a type of motor which integrates positional feedback into the motor in order to allow a single motor to perform repeatable, controllable movement, taking position as the input signal. WPILib provides the capability to control servos which match the common hobby input specification (PWM signal, 1.0ms-2.0ms pulse width)
Servo motors are a type of motor which integrates positional feedback into the motor in order to allow a single motor to perform repeatable, controllable movement, taking position as the input signal. WPILib provides the capability to control servos which match the common hobby input specification (Pulse Width Modulation (PWM) signal, 0.6 ms - 2.4 ms pulse width)

Constructing a Servo object
---------------------------
Expand Down Expand Up @@ -39,4 +39,4 @@ There are two methods of setting servo values in WPILib:

- Scaled Value - Sets the servo position using a scaled 0 to 1.0 value. 0 corresponds to one extreme of the servo and 1.0 corresponds to the other

- Angle - Set the servo position by specifying the angle, in degrees. This method will work for servos with the same range as the Hitec HS-322HD servo (0 to 170 degrees). Any values passed to this method outside the specified range will be coerced to the boundary.
- Angle - Set the servo position by specifying the angle, in degrees from 0 to 180. This method will work for servos with the same range as the Hitec HS-322HD servo . Any values passed to this method outside the specified range will be coerced to the boundary.

0 comments on commit f29b5d9

Please sign in to comment.