Class UnscentedKalmanFilter<T extends Measurement>
java.lang.Object
org.hipparchus.filtering.kalman.unscented.UnscentedKalmanFilter<T>
- Type Parameters:
T
- the type of the measurements
- All Implemented Interfaces:
KalmanEstimate
,KalmanFilter<T>
Unscented Kalman filter for
unscented process
.- Since:
- 2.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnscentedKalmanFilter
(MatrixDecomposer decomposer, UnscentedProcess<T> process, ProcessEstimate initialState, UnscentedTransformProvider utProvider) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionestimationStep
(T measurement) Perform one estimation step.Get the corrected state.Get the predicted state.Get the cross-covariance between the previous state and the prediction.Get the unscented transform provider.void
setObserver
(KalmanObserver kalmanObserver) Set the filter observer callback.
-
Constructor Details
-
UnscentedKalmanFilter
public UnscentedKalmanFilter(MatrixDecomposer decomposer, UnscentedProcess<T> process, ProcessEstimate initialState, UnscentedTransformProvider utProvider) Simple constructor.- Parameters:
decomposer
- decomposer to use for the correction phaseprocess
- unscented process to estimateinitialState
- initial stateutProvider
- unscented transform provider
-
-
Method Details
-
estimationStep
Perform one estimation step.- Specified by:
estimationStep
in interfaceKalmanFilter<T extends Measurement>
- Parameters:
measurement
- single measurement to handle- Returns:
- estimated state after measurement has been considered
- Throws:
MathRuntimeException
- if estimation fails
-
setObserver
Set the filter observer callback.- Specified by:
setObserver
in interfaceKalmanFilter<T extends Measurement>
- Parameters:
kalmanObserver
- the observer
-
getPredicted
Get the predicted state.- Specified by:
getPredicted
in interfaceKalmanEstimate
- Returns:
- predicted state
-
getCorrected
Get the corrected state.- Specified by:
getCorrected
in interfaceKalmanEstimate
- Returns:
- corrected state
-
getStateCrossCovariance
Get the cross-covariance between the previous state and the prediction. Not required for forward filtering, but required for the smoother.- Specified by:
getStateCrossCovariance
in interfaceKalmanEstimate
- Returns:
- cross-covariance
-
getUnscentedTransformProvider
Get the unscented transform provider.- Returns:
- unscented transform provider
-