Show / Hide Table of Contents

Class KalmanLatLong

From SackOverflow: Smooth GPS data

https://stackoverflow.com/a/15657798

Inheritance
System.Object
KalmanLatLong
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Mapbox.Unity.Location
Assembly:cs.temp.dll.dll
Syntax
public class KalmanLatLong

Constructors

KalmanLatLong(Single)

Declaration
public KalmanLatLong(float Q_metres_per_second)
Parameters
Type Name Description
System.Single Q_metres_per_second

Properties

Accuracy

Declaration
public float Accuracy { get; }
Property Value
Type Description
System.Single

Lat

Declaration
public double Lat { get; }
Property Value
Type Description
System.Double

Lng

Declaration
public double Lng { get; }
Property Value
Type Description
System.Double

TimeStamp

Declaration
public long TimeStamp { get; }
Property Value
Type Description
System.Int64

Methods

Process(Double, Double, Single, Int64)

Kalman filter processing for lattitude and longitude

Declaration
public void Process(double lat_measurement, double lng_measurement, float accuracy, long TimeStamp_milliseconds)
Parameters
Type Name Description
System.Double lat_measurement
System.Double lng_measurement

new measurement of longitude

System.Single accuracy

measurement of 1 standard deviation error in metres

System.Int64 TimeStamp_milliseconds

time of measurement

SetState(Double, Double, Single, Int64)

Declaration
public void SetState(double lat, double lng, float accuracy, long TimeStamp_milliseconds)
Parameters
Type Name Description
System.Double lat
System.Double lng
System.Single accuracy
System.Int64 TimeStamp_milliseconds
Back to top © 2017 Mapbox