KalmanProfile enum
How strongly the odometer smooths the path while the device moves slowly.
aggressive follows the fixes most, conservative smooths most and cuts the
most corners, defaultProfile sits between. At riding and driving speed the three
agree; they differ at walking pace, between about 1 and 3 m/s, mostly with
distanceFilter: 0. The profile applies only to the odometer.
If no profile is provided, defaultProfile is applied.
Values
- defaultProfile → const KalmanProfile
-
The SDK's default: between the other two, for most apps.
const KalmanProfile(0) - aggressive → const KalmanProfile
-
Follows the fixes most closely: the least smoothing, the most of a slow path kept, and the most GPS wander counted.
const KalmanProfile(1) - conservative → const KalmanProfile
-
Smooths most: the steadiest total at riding and driving speed, the most corners cut at walking pace, and 20 to 50 % short on short back-and-forth paths.
const KalmanProfile(2)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Static Methods
-
fromId(
int id) → KalmanProfile - Converts an integer ID (from native) to a KalmanProfile.
Constants
-
values
→ const List<
KalmanProfile> - A constant List of the values in this enum, in order of their declaration.