Package com.irurueta.navigation.gnss
Class GNSSKalmanState
java.lang.Object
com.irurueta.navigation.gnss.GNSSKalmanState
- All Implemented Interfaces:
Serializable
,Cloneable
Kalman filter state for filtered GNSS estimation.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.irurueta.algebra.Matrix
Kalman filter error covariance matrix.private GNSSEstimation
Contains estimation of ECEF position and velocity, and estimated clock offset and drift. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.GNSSKalmanState
(GNSSEstimation estimation, com.irurueta.algebra.Matrix covariance) Constructor.GNSSKalmanState
(GNSSKalmanState input) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
Makes a copy of this instance.void
copyFrom
(GNSSKalmanState input) Copies data of provided instance into this instance.void
copyTo
(GNSSKalmanState output) Copies this instance data into provided instance.boolean
equals
(GNSSKalmanState other) Checks if provided instance has exactly the same contents as this instance.boolean
equals
(GNSSKalmanState other, double threshold) Checks if provided instance has contents similar to this instance up to provided threshold value.boolean
Checks if provided object is a GNSSKalmanState having exactly the same contents as this instance.com.irurueta.algebra.Matrix
Gets Kalman filter error covariance matrix.boolean
getCovariance
(com.irurueta.algebra.Matrix result) Gets Kalman filter error covariance matrix.Gets estimation of ECEF position and velocity, and estimated clock offset and drift.boolean
getEstimation
(GNSSEstimation result) Gets estimation of ECEF position and velocity, and estimated clock offset and drift.int
hashCode()
Computes and returns hash code for this instance.void
setCovariance
(com.irurueta.algebra.Matrix covariance) Sets Kalman filter error covariance matrix.void
setEstimation
(GNSSEstimation estimation) Sets estimation of ECEF position and velocity, and estimated clock offset and drift.
-
Field Details
-
estimation
Contains estimation of ECEF position and velocity, and estimated clock offset and drift. -
covariance
private com.irurueta.algebra.Matrix covarianceKalman filter error covariance matrix.
-
-
Constructor Details
-
GNSSKalmanState
public GNSSKalmanState()Constructor.
-
-
Method Details
-
getEstimation
Gets estimation of ECEF position and velocity, and estimated clock offset and drift.- Returns:
- GNSS estimation.
-
getCovariance
public boolean getCovariance(com.irurueta.algebra.Matrix result) Gets Kalman filter error covariance matrix.- Parameters:
result
- instance where result data will be copied to.- Returns:
- true if result data has been copied, false otherwise.
-
getCovariance
public com.irurueta.algebra.Matrix getCovariance()Gets Kalman filter error covariance matrix.- Returns:
- Kalman filter error covariance matrix.
-
setCovariance
public void setCovariance(com.irurueta.algebra.Matrix covariance) Sets Kalman filter error covariance matrix.- Parameters:
covariance
- Kalman filter error covariance matrix to be set.- Throws:
IllegalArgumentException
- if provided covariance matrix is not 8x8.
-
hashCode
public int hashCode()Computes and returns hash code for this instance. Hash codes are almost unique values that are useful for fast classification and storage of objects in collections. -
equals
Checks if provided object is a GNSSKalmanState having exactly the same contents as this instance. -
clone
Makes a copy of this instance.- Overrides:
clone
in classObject
- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException
- if clone fails for some reason.