ScienceControls class

A RoverControls that controls the science chamber.

Inheritance

Constructors

ScienceControls()

Properties

bumperFlag ↔ int
-1 if the left bumper was pressed, +1 if the right bumper was pressed, 0 otherwise.
getter/setter pair
buttonMapping → Map<String, String>
A human-readable explanation of what the controls are.
no setteroverride
carouselIncrement ↔ double
The amount of steps to move the dirt carousel when the button is held.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
leftBumper ↔ bool
Whether the left bumper was pressed last frame.
getter/setter pair
mode OperatingMode
The OperatingMode for these controls.
no setteroverride
onDispose → List<Message>
A list of commands that disables the subsystem.
no setteroverride
rightBumper ↔ bool
Whether the right bumper was pressed last frame.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scoopIncrement ↔ double
The amount of steps to move the scooper when the button is held.
getter/setter pair
subsurfaceIncrement ↔ double
The amount of steps to move the subsurface sampler when the button is held.
getter/setter pair
tubeMode ↔ bool
Whether the shoulder buttons should move tubes or steps.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseInputs(GamepadState state) → List<Message>
Return a list of commands based on the current state of the gamepad.
override
toString() → String
A string representation of this object.
inherited
updateState(GamepadState state) → void
Any logic to run before checking parseInputs.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited