VehicleModel class
Vehicle motion model options (drive mode only).
Constructors
- VehicleModel({double lateralFactor = 0.2, double nhcMinSpeed = 3.0, double nhcStd = 0.3, double nhcMaxTurnDeg = 10.0, double headingTauSeconds = 3.0, double nhcRefNoiseFactor = 0.1, double maxCourseAccuracyDeg = 25.0, double turnDeg = 8.0, double courseTrustMinSpeed = 5.0, double courseTrustMaxAccuracyDeg = 15.0, double courseTrustFactor = 0.8})
-
Creates a VehicleModel.
const
Properties
- courseTrustFactor → double
-
Weight of a trusted course in the vehicle model.
final
- courseTrustMaxAccuracyDeg → double
-
Worst course accuracy (degrees) at which the GNSS course is trusted.
final
- courseTrustMinSpeed → double
-
Above this speed (m/s) and with a course accuracy below
courseTrustMaxAccuracyDeg the course noise is scaled by courseTrustFactor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headingTauSeconds → double
-
Time constant (s) of the reference heading low-pass.
final
- lateralFactor → double
-
Lateral process noise as a fraction of the longitudinal one.
final
- maxCourseAccuracyDeg → double
-
Course accuracy (deg) at/above which the heading is considered unknown and
the vehicle model is skipped for that fix.
final
- nhcMaxTurnDeg → double
-
The pseudo-measurement is skipped while the heading differs from the lagged
reference heading by more than this (turns).
final
- nhcMinSpeed → double
-
Zero-lateral-velocity pseudo-measurement above this speed (m/s) ...
final
- nhcRefNoiseFactor → double
-
Fraction of the course noise (x speed) added to the pseudo-measurement noise
because the reference heading is derived from the same course data.
final
- nhcStd → double
-
... with this standard deviation (m/s).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- turnDeg → double
-
Course vs filtered heading difference (deg) above which the fix is treated
as a turn and the normal model is used.
final
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