DriveControls class

The skid-steer drive controls.

Inheritance

Constructors

DriveControls()

Properties

buttonMapping → Map<String, String>
A human-readable explanation of what the controls are.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
leftShoulderFlag ↔ bool
Whether the left shoulder was pressed last tick.
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
rightShoulderFlag ↔ bool
Whether the right shoulder was pressed last tick.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
throttle ↔ double
The throttle the rover should be at.
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