DriveSimulator class
- Inheritance
-
- Object
- Service
- DriveInterface
- DriveSimulator
Constructors
- DriveSimulator({required AutonomyInterface collection, bool shouldDelay = false})
Properties
- collection ↔ AutonomyInterface
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldDelay → bool
-
final
Methods
-
dispose(
) → Future< void> -
Closes the connection to the device.
override
-
faceNorth(
) → Future< void> -
override
-
followPath(
List< AutonomyAStarState> path) → Future<void> -
inherited
-
goDirection(
DriveDirection direction) → Future< void> -
inherited
-
goForward(
) → Future< void> -
override
-
init(
) → Future< bool> -
Initializes the connection to the device.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
turnLeft(
) → Future< void> -
override
-
turnRight(
) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited