Package | Description |
---|---|
io.github.thunderbots.lightning.control.layout |
A control layout is a method of converting a joystick state (i.e left stick forward,
right stick backward, etc) into both forward and clockwise power, which are interpreted
by methods included in
DriveSystem . |
io.github.thunderbots.lightning.opmode |
Provides classes for development of OpModes using the LightningSDK.
|
Modifier and Type | Class and Description |
---|---|
class |
DriveSpinControlLayout
A
DriveSpinControlLayout is a ControlLayout that represents the 'default'
control layout for FTC robots. |
class |
MecanumControlLayout
A
MecanumControlLayout is a ControlLayout that can control a robot with
a mecanum drive system. |
class |
TankControlLayout
A
TankControlLayout is a ControlLayout that represents a tank-like
control system. |
Modifier and Type | Field and Description |
---|---|
private ControlLayout |
TeleOp.joystickLayout
The control layout of the driving joystick.
|
Modifier and Type | Method and Description |
---|---|
ControlLayout |
TeleOp.createControlLayout()
Constructs the joystick control layout that the op mode should use.
|
protected ControlLayout |
TeleOp.getControlLayout()
Gets a reference to the
ControlLayout that this op mode is using. |