101 double GetServoAngleRange()
const;
103 static constexpr double kMaxServoAngle = 180.;
104 static constexpr double kMinServoAngle = 0.0;
106 static constexpr units::millisecond_t kDefaultMaxServoPWM = 2.4_ms;
107 static constexpr units::millisecond_t kDefaultMinServoPWM = 0.6_ms;
Class implements the PWM generation in the FPGA.
Definition: PWM.h:26
Standard hobby style servo.
Definition: Servo.h:19
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: AprilTagPoseEstimator.h:15