- DEFAULT_TICKS_PER_INCH - Static variable in class io.github.thunderbots.lightning.hardware.Motor.Encoder
-
The default number of encoder ticks that measure one inch on the circumference
of the wheel.
- DEFAULT_TICKS_PER_REVOLUTION - Static variable in class io.github.thunderbots.lightning.hardware.Motor.Encoder
-
The default number of encoder ticks that measure exactly one full rotation of
the motor.
- downButton() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if down-direction button on the joystick is
currently being pressed.
- drive(double) - Method in class io.github.thunderbots.lightning.drive.DriveSystem
-
Drives the robot forward with the given power.
- drive - Variable in class io.github.thunderbots.lightning.robot.Robot
-
The drive system that controls the movement of this robot.
- DRIVE_POWER_WEIGHT - Static variable in class io.github.thunderbots.lightning.drive.MecanumDrive
-
The relative weight of the forward vector over other vectors.
- driveInches(double, double) - Method in class io.github.thunderbots.lightning.drive.DriveSystem
-
Drives the robot forward with the given power and for the given distance,
then stops.
- driveInchesToTicks(double) - Method in class io.github.thunderbots.lightning.drive.DriveSystem
-
Converts between drive inches and encoder ticks.
- driveSeconds(double, double) - Method in class io.github.thunderbots.lightning.drive.DriveSystem
-
Drives the robot forward with the given power and for the given time, then stops.
- DriveSpinControlLayout - Class in io.github.thunderbots.lightning.control.layout
-
A DriveSpinControlLayout
is a ControlLayout
that represents the 'default'
control layout for FTC robots.
- DriveSpinControlLayout() - Constructor for class io.github.thunderbots.lightning.control.layout.DriveSpinControlLayout
-
- DriveSystem - Class in io.github.thunderbots.lightning.drive
-
A DriveSystem
represents the motors used for driving the robot, their
arrangement, and in some cases, the type of wheels attached to the motor.
- DriveSystem(MotorSet) - Constructor for class io.github.thunderbots.lightning.drive.DriveSystem
-
Constructs a new DriveSystem
with the given DriveMotorSet
as a base.
- DriveSystem(String[]) - Constructor for class io.github.thunderbots.lightning.drive.DriveSystem
-
Constructs a new DriveSystem
that uses the motors with the given names.
- driveTicks(double, int) - Method in class io.github.thunderbots.lightning.drive.DriveSystem
-
Drives the robot forward with the given power and for the given tick distance,
then stops.