- lastButtons - Variable in class io.github.thunderbots.lightning.control.JoystickMonitor
-
The latest 'snapshot' of the buttons on the gamepad.
- leftBumper() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the left bumper on the joystick is currently
being pressed.
- leftButton() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the left-direction button on the joystick is
currently being pressed.
- leftStickButton() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the left-stick button on the joystick is
currently being pressed.
- leftStickNegativeX() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the x-position of the left stick is below a set threshold, or
false
otherwise.
- leftStickNegativeY() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the y-position of the left stick is below a set threshold, or
false
otherwise.
- leftStickPositiveX() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the x-position of the left stick is above a set threshold, or
false
otherwise.
- leftStickPositiveY() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the y-position of the left stick is above a set threshold, or
false
otherwise.
- leftStickX() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns the current x-position of the left thumb stick.
- leftStickY() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns the current y-position of the left thumb stick.
- leftTrigger() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns the current position of the left trigger on the joystick.
- leftTriggerPressed() - Method in class io.github.thunderbots.lightning.control.Joystick
-
Returns true
if the left trigger value is above the set threshold, or
false
otherwise.
- Lightning - Class in io.github.thunderbots.lightning
-
The Lightning
class exposes methods for general interfacing with the hardware on
the physical robot.
- Lightning() - Constructor for class io.github.thunderbots.lightning.Lightning
-
Lightning
should not be instantiable.
- LightningOpMode - Class in io.github.thunderbots.lightning.opmode
-
The LightningOpMode
is a customized version of LinearOpMode
that should
be the superclass for all op modes written using Lightning SDK.
- LightningOpMode() - Constructor for class io.github.thunderbots.lightning.opmode.LightningOpMode
-