99 double GetServoAngleRange()
const;
101 static constexpr double kMaxServoAngle = 180.0;
102 static constexpr double kMinServoAngle = 0.0;
104 static constexpr double kDefaultMaxServoPWM = 2.4;
105 static constexpr double kDefaultMinServoPWM = 0.6;
Class implements the PWM generation in the FPGA.
Definition: PWM.h:34
Standard hobby style servo.
Definition: Servo.h:17
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
double Get() const
Get the servo position.
double GetMaxAngle() const
Get the maximum angle of the servo.
Servo & operator=(Servo &&)=default
void SetOffline()
Set the servo to offline.
double GetMinAngle() const
Get the minimum angle of the servo.
double GetAngle() const
Get the servo angle.
void Set(double value)
Set the servo position.
void SetAngle(double angle)
Set the servo angle.
Definition: SendableBuilder.h:18
Definition: AprilTagFieldLayout.h:22