11 #include "frc/SpeedController.h"
27 explicit Servo(
int channel);
40 void Set(
double value);
102 double GetServoAngleRange()
const;
104 static constexpr
double kMaxServoAngle = 180.0;
105 static constexpr
double kMinServoAngle = 0.0;
107 static constexpr
double kDefaultMaxServoPWM = 2.4;
108 static constexpr
double kDefaultMinServoPWM = 0.6;
Class implements the PWM generation in the FPGA.
Definition: PWM.h:40
double GetMaxAngle() const
Get the maximum angle of the servo.
double GetAngle() const
Get the servo angle.
double GetMinAngle() const
Get the minimum angle of the servo.
void SetOffline()
Set the servo to offline.
double Get() const
Get the servo position.
void Set(double value)
Set the servo position.
void SetAngle(double angle)
Set the servo angle.
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
Standard hobby style servo.
Definition: Servo.h:21
Definition: SendableBuilder.h:23