OperatingMode enum
A mode for operating the rover.
The operator can switch between modes which will:
- change the controller inputs to match the current mode
- change the on-screen UI to provide information useful in this context
- highlight the relevant metrics
Values
- none → const OperatingMode
-
No controls. Allows the user to "disable" a gamepad.
const OperatingMode("None")
- drive → const OperatingMode
-
Skid-steer drive controls.
Focus on helping the user drive the rover with as much manual control.
const OperatingMode("Tank drive")
- modernDrive → const OperatingMode
-
Modern drive controls.
Focus on driving intuitively with simple controls
const OperatingMode("Modern Drive")
- cameras → const OperatingMode
-
Camera mode.
The on-board cameras are on servo mounts. This mode controls those mounts.
const OperatingMode("Cameras")
- science → const OperatingMode
-
Science mode.
Focus cameras on the science chamber and allow the user to collect samples and data.
const OperatingMode("Science")
- arm → const OperatingMode
-
Arm mode.
Focus on helping the user manipulate the arm.
const OperatingMode("Arm")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
The name of this mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
OperatingMode> - A constant List of the values in this enum, in order of their declaration.