CameraControls class
A RoverControls for the rover's front and rear cameras.
- Inheritance
-
- Object
- RoverControls
- CameraControls
Constructors
Properties
- armTilt ↔ double
-
The angle of the arm camera tilt.
getter/setter pair
-
A human-readable explanation of what the controls are.
no setteroverride
- frontSwivel ↔ double
-
The angle of the front swivel servo.
getter/setter pair
- frontTilt ↔ double
-
The angle of the front tilt servo.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → OperatingMode
-
The OperatingMode for these controls.
no setteroverride
-
onDispose
→ List<
Message> -
A list of commands that disables the subsystem.
no setteroverride
- rearSwivel ↔ double
-
The angle of the rear swivel servo.
getter/setter pair
- rearTilt ↔ double
-
The angle of the rear tilt servo.
getter/setter pair
- 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
-
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
Constants
- cameraSwivelIncrement → const int
- How far to swivel the cameras each tick.
- cameraTiltIncrement → const int
- How far to tilt the cameras each tick.