T
- the type of the measurementpublic class ResidualFilter<T extends ObservedMeasurement<T>> extends Object implements MeasurementFilter<T>
The measurement residual is defined by the difference between the observed value and the estimated value of the measurement.
Constructor and Description |
---|
ResidualFilter(double threshold)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
filter(ObservedMeasurement<T> measurement,
SpacecraftState state)
Apply a filter to an observed measurement.
|
public ResidualFilter(double threshold)
threshold
- maximum value for the measurement residualpublic void filter(ObservedMeasurement<T> measurement, SpacecraftState state)
If the observed measurement is rejected by the filter,
the method ObservedMeasurement.isEnabled()
will
return false
.
filter
in interface MeasurementFilter<T extends ObservedMeasurement<T>>
measurement
- observed measurementstate
- current spacecraft state.Copyright © 2002-2021 CS GROUP. All rights reserved.