T
- the type of the measurementpublic class ElevationFilter<T extends ObservedMeasurement<T>> extends Object implements MeasurementFilter<T>
Constructor and Description |
---|
ElevationFilter(GroundStation station,
double threshold)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
filter(ObservedMeasurement<T> measurement,
SpacecraftState state)
Apply a filter to an observed measurement.
|
public ElevationFilter(GroundStation station, double threshold)
station
- considered by the filterthreshold
- minimum elevation for a measurements to be accepted, in radianspublic 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.