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.MatrixKalman filter error covariance matrix.private GNSSEstimationContains 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 Objectclone()Makes a copy of this instance.voidcopyFrom(GNSSKalmanState input) Copies data of provided instance into this instance.voidcopyTo(GNSSKalmanState output) Copies this instance data into provided instance.booleanequals(GNSSKalmanState other) Checks if provided instance has exactly the same contents as this instance.booleanequals(GNSSKalmanState other, double threshold) Checks if provided instance has contents similar to this instance up to provided threshold value.booleanChecks if provided object is a GNSSKalmanState having exactly the same contents as this instance.com.irurueta.algebra.MatrixGets Kalman filter error covariance matrix.booleangetCovariance(com.irurueta.algebra.Matrix result) Gets Kalman filter error covariance matrix.Gets estimation of ECEF position and velocity, and estimated clock offset and drift.booleangetEstimation(GNSSEstimation result) Gets estimation of ECEF position and velocity, and estimated clock offset and drift.inthashCode()Computes and returns hash code for this instance.voidsetCovariance(com.irurueta.algebra.Matrix covariance) Sets Kalman filter error covariance matrix.voidsetEstimation(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:
clonein classObject- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException- if clone fails for some reason.