- main() - Method in class io.github.thunderbots.lightning.opmode.LightningOpMode
-
Executes the 'main procedure' of the op mode.
- main() - Method in class io.github.thunderbots.lightning.opmode.TeleOp
-
- mainLoop() - Method in class io.github.thunderbots.lightning.opmode.TeleOp
-
Executes the 'body' of any tele op.
- MathUtil - Class in io.github.thunderbots.lightning.utility
-
The MathUtil
class contains static methods for common calculations and
mathematical utilities.
- MathUtil() - Constructor for class io.github.thunderbots.lightning.utility.MathUtil
-
MathUtil
should not be instantiable.
- MAX_POSITION - Static variable in class io.github.thunderbots.lightning.hardware.Servo
-
The maximum position of the servo.
- MAX_POWER - Static variable in class io.github.thunderbots.lightning.hardware.Motor
-
The maximum power of the motor.
- MecanumControlLayout - Class in io.github.thunderbots.lightning.control.layout
-
A MecanumControlLayout
is a ControlLayout
that can control a robot with
a mecanum drive system.
- MecanumControlLayout() - Constructor for class io.github.thunderbots.lightning.control.layout.MecanumControlLayout
-
- MecanumDrive - Class in io.github.thunderbots.lightning.drive
-
A MecanumDrive
is a DriveSystem
that represents a system using mecanum
wheels.
- MecanumDrive(MotorSet) - Constructor for class io.github.thunderbots.lightning.drive.MecanumDrive
-
Constructs a new MecanumDrive
with the given DriveMotorSet
as a
base.
- MecanumDrive(String[]) - Constructor for class io.github.thunderbots.lightning.drive.MecanumDrive
-
Constructs a new MecanumDrive
that uses the motors with the given names.
- MIN_POSITION - Static variable in class io.github.thunderbots.lightning.hardware.Servo
-
The minimum position of the servo.
- MIN_POWER - Static variable in class io.github.thunderbots.lightning.hardware.Motor
-
The maximum power of the motor when the motor is spinning backwards.
- monitor1 - Static variable in class io.github.thunderbots.lightning.Lightning
-
The joystick monitor for joystick 1.
- monitor2 - Static variable in class io.github.thunderbots.lightning.Lightning
-
The joystick monitor for joystick 1.
- MonitorUpdateRunnable() - Constructor for class io.github.thunderbots.lightning.control.JoystickMonitor.MonitorUpdateRunnable
-
- Motor - Class in io.github.thunderbots.lightning.hardware
-
A Motor
represents any physical DC motor that is connected to the robot.
- Motor(DcMotor) - Constructor for class io.github.thunderbots.lightning.hardware.Motor
-
Constructs a new motor that uses the given DcMotor
as a base.
- Motor.Encoder - Class in io.github.thunderbots.lightning.hardware
-
An Encoder
represents a physical encoder that is attached to a specific
motor.
- motors - Variable in class io.github.thunderbots.lightning.drive.DriveSystem
-
The motors in this drive system.
- motors - Variable in class io.github.thunderbots.lightning.hardware.MotorSet
-
The array of motors that this MotorSet
comprises.
- MotorSet - Class in io.github.thunderbots.lightning.hardware
-
A MotorSet
is a collection of motors that should move in unison.
- MotorSet(String[]) - Constructor for class io.github.thunderbots.lightning.hardware.MotorSet
-
Constructs a new MotorSet
using the motors with the given names.
- MotorSet(Motor[]) - Constructor for class io.github.thunderbots.lightning.hardware.MotorSet
-
Constructs a new MotorSet
using the given motor array.
- move(double) - Method in class io.github.thunderbots.lightning.hardware.Servo
-
Moves the servo to its current position plus the given increment.
- MOVE_POWER_SCALE - Static variable in class io.github.thunderbots.lightning.drive.MecanumDrive
-
The multiplier for all motor powers.
- moveToPosition(double) - Method in class io.github.thunderbots.lightning.hardware.Servo
-
Moves the servo to the given position.