Package | Description |
---|---|
io.github.thunderbots.lightning |
Provides classes that expose methods for general interfacing with the hardware on
the physical robot.
|
io.github.thunderbots.lightning.hardware |
The
io.github.thunderbots.lightning.hardware package contains wrapper classes
that represent physical motors and servos on the robot. |
io.github.thunderbots.lightning.utility |
Provides utility classes.
|
Modifier and Type | Method and Description |
---|---|
static Servo |
Lightning.getServo(java.lang.String name)
Gets a reference to the servo with the given name.
|
Modifier and Type | Field and Description |
---|---|
private Servo |
CRServo.baseServo
The servo that this object is based on.
|
Constructor and Description |
---|
CRServo(Servo baseServo)
Constructs a new
CRServo with the given Servo as a base. |
Modifier and Type | Method and Description |
---|---|
static void |
Telemetry.sendServoPosition(Servo s)
Sends servo data from the robot controller to the driver station.
|