Tracker class
This class manages the position of the user.
- Implementers
Constructors
- Tracker(Calculator _calculator, Filter _filter)
Properties
- accuracy → double
-
no setter
- calculatedPosition → Point
-
no setter
- filteredPosition → Point
-
no setter
- finalPosition → Point
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculatePosition(
List< Beacon> beacons) → Point - Calculates the user's position using a list of known Points
-
filterPosition(
[Point? position]) → Point - Filter calculated position
-
initiateFirstScan(
List< Beacon> beacons) → void -
initiateTrackingCycle(
List< Beacon> beacons) → void - calling this engages the positioning system
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets the members of this class to their original value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited