GpsSimulator class

Inheritance
Mixed in types

Constructors

GpsSimulator({required AutonomyInterface collection, double maxError = 0})

Properties

collection → AutonomyInterface
finalinherited
coordinates → GpsCoordinates
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
hasValue ↔ bool
getter/setter pairinherited
latitude → double
no setterinherited
longitude → double
no setterinherited
reportInterval → Duration
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timer ↔ Timer?
getter/setter pairinherited

Methods

dispose() → Future<void>
inherited
getMessage() → RoverPosition
override
init() → Future<bool>
Initializes the connection to the device.
override
isNear(GpsCoordinates other) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(GpsCoordinates newValue) → void
override
waitForValue() → Future<void>
inherited

Operators

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