public class GpsReceiver extends DefinitionalObject implements IServiceProvider
Modifier | Constructor and Description |
---|---|
|
GpsReceiver()
Initializes a new instance.
|
protected |
GpsReceiver(GpsReceiver existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|
|
GpsReceiver(PlatformCollection navigationSatellites,
int numberOfChannels,
IServiceProvider antenna,
double fixedMaskAngle,
double constantNoise)
Initializes a new instance of a basic Gps Receiver.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkForSameDefinition(DefinitionalObject other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
checkForSameDefinition(GpsReceiver other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
Object |
clone(CopyContext context)
Clones this object using the specified context.
|
protected int |
computeCurrentDefinitionHashCode()
Computes a hash code based on the current properties of this object.
|
void |
enumerateDependencies(DependencyEnumerator enumerator)
Enumerates the dependencies of this object by calling
DependencyEnumerator#enumerate(T) for each object that this object directly depends upon. |
protected void |
freezeAggregatedObjects()
Called by
DefinitionalObject.freeze() to also freeze any objects that are considered to be a part of this object. |
IServiceProvider |
getAntenna()
Gets the antenna of the GPS receiver.
|
Evaluator<DilutionOfPrecision> |
getDilutionOfPrecisionEvaluator()
Returns an evaluator which can compute the
DilutionOfPrecision for this GPS receiver at a given time. |
Evaluator<DilutionOfPrecision> |
getDilutionOfPrecisionEvaluator(boolean allowUndefinedDOPs)
Returns an evaluator which can compute the
DilutionOfPrecision for this GPS receiver at a given time. |
Evaluator<DilutionOfPrecision> |
getDilutionOfPrecisionEvaluator(EvaluatorGroup group)
Returns an evaluator which can compute the
DilutionOfPrecision for this GPS receiver at a given time. |
Evaluator<DilutionOfPrecision> |
getDilutionOfPrecisionEvaluator(EvaluatorGroup group,
boolean allowUndefinedDOPs)
Returns an evaluator which can compute the
DilutionOfPrecision for this GPS receiver at a given time. |
Evaluator<NavigationAccuracyAssessed> |
getNavigationAccuracyAssessedEvaluator(PerformanceAssessmentFile performanceAssessmentFile)
Returns an evaluator which can compute the
NavigationAccuracyAssessed for this GPS receiver at a given time. |
Evaluator<NavigationAccuracyAssessed> |
getNavigationAccuracyAssessedEvaluator(PerformanceAssessmentFile performanceAssessmentFile,
AccuracyCalculationPersona persona,
EvaluatorGroup group)
Returns an evaluator which can compute the
NavigationAccuracyAssessed for this GPS receiver at a given time. |
Evaluator<NavigationAccuracyPredicted> |
getNavigationAccuracyPredictedEvaluator(PredictionSupportFile predictionSupportFile)
Returns an evaluator which can compute the
NavigationAccuracyPredicted for this GPS receiver at a given time. |
Evaluator<NavigationAccuracyPredicted> |
getNavigationAccuracyPredictedEvaluator(PredictionSupportFile predictionSupportFile,
AccuracyCalculationPersona persona,
EvaluatorGroup group)
Returns an evaluator which can compute the
NavigationAccuracyPredicted for this GPS receiver at a given time. |
Evaluator<NavigationAccuracyPredicted> |
getNavigationAccuracyPredictedEvaluator(PredictionSupportFile predictionSupportFile,
EvaluatorGroup group)
Returns an evaluator which can compute the
NavigationAccuracyPredicted for this GPS receiver at a given time. |
PlatformCollection |
getNavigationSatellites()
Gets the collection of navigation satellites from which this receiver can
potentially receive a navigation signal.
|
GpsReceiverNoiseModel |
getNoiseModel()
Gets the model for computing the noise in this receiver when
receiving a signal from a navigation satellite.
|
int |
getNumberOfChannels()
Gets the number of channels in this receiver.
|
DilutionOfPrecisionOptimization |
getOptimizationCriteria()
Gets the dilution of precision (DOP) value to optimize on
when using a
GpsReceiverSolutionType.BEST_N
ReceiverSolutionType (get / set ). |
AccessConstraintCollection |
getReceiverConstraints()
Gets the collection of Access constraints to be applied to the receiver in
determining which navigation satellites are usable by it.
|
GpsReceiverSolutionType |
getReceiverSolutionType()
Gets the type of solution to use to decide which satellites to track out of all the
satellites that are visible.
|
AccessConstraintCollection |
getSatelliteConstraints()
Gets the collection of Access constraints to be applied to the navigation satellites
in determining which ones are usable by the receiver.
|
Evaluator<PlatformCollection> |
getSatelliteTrackingEvaluator()
Returns an evaluator that identifies the satellites that are tracked by the GPS receiver at
a given date.
|
Evaluator<PlatformCollection> |
getSatelliteTrackingEvaluator(EvaluatorGroup group)
Returns an evaluator that identifies the satellites that are tracked by the GPS receiver at
a given date.
|
Evaluator<int[]> |
getSatelliteTrackingIndexEvaluator()
Returns an evaluator that identifies the satellites that are tracked by the GPS receiver at
a given date.
|
Evaluator<int[]> |
getSatelliteTrackingIndexEvaluator(EvaluatorGroup group)
Returns an evaluator that identifies the satellites that are tracked by the GPS receiver at
a given date.
|
Evaluator<SatelliteUserRangeError> |
getSatelliteUserRangeErrorEvaluator(IServiceProvider satellite,
PerformanceAssessmentFile performanceAssessmentFile)
Returns an evaluator that supplies the user range errors for a satellite at a given date.
|
Evaluator<SatelliteUserRangeError> |
getSatelliteUserRangeErrorEvaluator(IServiceProvider satellite,
PerformanceAssessmentFile performanceAssessmentFile,
EvaluatorGroup group)
Returns an evaluator that supplies the user range errors for a satellite at a given date.
|
Object |
getService(Class<?> serviceType)
Gets the service object of the specified type.
|
void |
setAntenna(IServiceProvider value)
Sets the antenna of the GPS receiver.
|
void |
setNavigationSatellites(PlatformCollection value)
Sets the collection of navigation satellites from which this receiver can
potentially receive a navigation signal.
|
void |
setNoiseModel(GpsReceiverNoiseModel value)
Sets the model for computing the noise in this receiver when
receiving a signal from a navigation satellite.
|
void |
setNumberOfChannels(int value)
Sets the number of channels in this receiver.
|
void |
setOptimizationCriteria(DilutionOfPrecisionOptimization value)
Sets the dilution of precision (DOP) value to optimize on
when using a
GpsReceiverSolutionType.BEST_N
ReceiverSolutionType (get / set ). |
void |
setReceiverSolutionType(GpsReceiverSolutionType value)
Sets the type of solution to use to decide which satellites to track out of all the
satellites that are visible.
|
areSameDefinition, areSameDefinition, areSameDefinition, areSameDefinition, areSameDefinition, collectionItemsAreSameDefinition, collectionItemsAreSameDefinition, collectionItemsAreSameDefinition, dictionaryItemsAreSameDefinition, freeze, getCollectionHashCode, getCollectionHashCode, getCollectionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDefinitionHashCode, getDictionaryHashCode, getIsFrozen, isSameDefinition, throwIfFrozen
public GpsReceiver()
The properties of the receiver are initialized to the following values:
NumberOfChannels
(get
/ set
) = 0. This property must be set before any evaluator can be obtained from the receiver.ReceiverSolutionType
(get
/ set
) = GpsReceiverSolutionType.ALL_IN_VIEW
OptimizationCriteria
(get
/ set
) = DilutionOfPrecisionOptimization.POSITION
Antenna
(get
/ set
) = null
. This property must be set before any evaluator can be obtained from the receiver.NavigationSatellites
(get
/ set
) = null
. This property must be set before any evaluator can be obtained from the receiver.SatelliteConstraints
(get
) = empty list. At least one constraint must be added to one of the collections of constraints, or at least one constraint must be applied to the
Antenna
(get
/ set
), before any evaluator can be obtained from the receiver.
ReceiverConstraints
(get
) = empty list. At least one constraint must be added to one of the collections of constraints, or at least one constraint must be applied to the
Antenna
(get
/ set
), before any evaluator can be obtained from the receiver.
NoiseModel
(get
/ set
) = null
. This property must be set before any evaluator that requires a noise model can be obtained from the receiver.public GpsReceiver(PlatformCollection navigationSatellites, int numberOfChannels, IServiceProvider antenna, double fixedMaskAngle, double constantNoise)
An ElevationAngleConstraint
will be constructed with the specified fixedMaskAngle
and will be added to the ReceiverConstraints
(get
) collection. The EarthCentralBody
required to
configure the elevation angle constraint will be obtained from the CentralBodiesFacet
instance in the
CalculationContext
.
The receiver's NoiseModel
(get
/ set
) will be set to an instance of the ConstantGpsReceiverNoiseModel
which is initialized with the constantNoise
value.
The properties of the receiver that are not specified in this constructor are initialized to the following values:
GpsReceiverSolutionType
= GpsReceiverSolutionType.ALL_IN_VIEW
. This property can be changed after the receiver is constructed, if desired.DilutionOfPrecisionOptimization
= DilutionOfPrecisionOptimization.POSITION
. This property can be changed after the receiver is constructed, if desired.
This property is only used when the GpsReceiverSolutionType
is set to GpsReceiverSolutionType.BEST_N
.
navigationSatellites
- The collection of navigation satellites from which this receiver can potentially receive a navigation signal.numberOfChannels
- The number of satellites that this receiver can simultaneously track.antenna
- The antenna of the GPS receiver. The antenna must provide ILocationPointService
and
IOrientationAxesService
. If it provides IAccessConstraintsService
, the service will
be queried for additional constraints which will be applied in determining which satellites are visible to the
receiver. Usually, an instance of the Platform
class is used as an antenna for the receiver.fixedMaskAngle
- The minimum elevation angle, in radians, that is required in order for the satellites to be considered visible to the receiver.constantNoise
- The constant noise value applied to all channels in the receiver, in meters.protected GpsReceiver(@Nonnull GpsReceiver existingInstance, @Nonnull CopyContext context)
See ICloneWithContext.clone(CopyContext)
for more information about how to implement this constructor
in a derived class.
existingInstance
- The existing instance to copy.context
- A CopyContext
that controls the depth of the copy.ArgumentNullException
- Thrown when existingInstance
or context
is null
.ArgumentNullException
- Thrown when the context
is null
.public Object clone(CopyContext context)
This method should be implemented to call a copy constructor on the class of the
object being cloned. The copy constructor should take the CopyContext
as a parameter
in addition to the existing instance to copy. The copy constructor should first call
CopyContext.addObjectMapping(T, T)
to identify the newly constructed instance
as a copy of the existing instance. It should then copy all fields, using
CopyContext.updateReference(T)
to copy any reference fields.
A typical implementation of ICloneWithContext
:
public static class MyClass implements ICloneWithContext {
public MyClass(MyClass existingInstance, CopyContext context) {
context.addObjectMapping(existingInstance, this);
someReference = context.updateReference(existingInstance.someReference);
}
@Override
public final Object clone(CopyContext context) {
return new MyClass(this, context);
}
private Object someReference;
}
In general, all fields that are reference types should be copied with a call to
CopyContext.updateReference(T)
. There are a couple of exceptions:
If one of these exceptions applies, the CopyContext
should be given an opportunity
to update the reference before the reference is copied explicitly. Use
CopyContext.updateReference(T)
to update the reference. If CopyContext.updateReference(T)
returns
the original object, indicating that the context does not have a replacement registered,
then copy the object manually by invoking a Clone method, a copy constructor, or by manually
constructing a new instance and copying the values.
alwaysCopy = context.updateReference(existingInstance.alwaysCopy);
if (existingInstance.alwaysCopy != null && alwaysCopy == existingInstance.alwaysCopy) {
alwaysCopy = (AlwaysCopy) existingInstance.alwaysCopy.clone(context);
}
If you are implementing an evaluator (a class that implements IEvaluator
), the
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
method shares some responsibilities with the
copy context constructor. Code duplication can be avoided by doing the following:
CopyContext.updateReference(T)
. You should still call CopyContext.updateReference(T)
on any references to
non-evaluators.
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
as the last line in the constructor and pass it the
same CopyContext
passed to the constructor.
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
as normal. See the reference documentation for
IEvaluator.updateEvaluatorReferences(agi.foundation.infrastructure.CopyContext)
for more information on implementing that method.
public MyClass(MyClass existingInstance, CopyContext context) {
super(existingInstance, context);
someReference = context.updateReference(existingInstance.someReference);
evaluatorReference = existingInstance.evaluatorReference;
updateEvaluatorReferences(context);
}
@Override
public void updateEvaluatorReferences(CopyContext context) {
evaluatorReference = context.updateReference(evaluatorReference);
}
@Override
public Object clone(CopyContext context) {
return new MyClass(this, context);
}
private Object someReference;
private IEvaluator evaluatorReference;
clone
in interface ICloneWithContext
clone
in class DefinitionalObject
context
- The context to use to perform the copy.protected final boolean checkForSameDefinition(DefinitionalObject other)
true
if it does. Derived classes MUST override this method and check
all new fields introduced by the derived class for definitional equivalence. It is NOT necessary
to check base class fields because the base class will already have done that. When overriding this method,
you should NOT call the base implementation because it will return false
for all derived-class instances.
Derived classes should check the type of other
to preserve the symmetric nature of IEquatableDefinition.isSameDefinition(java.lang.Object)
.checkForSameDefinition
in class DefinitionalObject
other
- The other instance to compare to this one.true
if the two objects are defined equivalently; otherwise false
.protected boolean checkForSameDefinition(GpsReceiver other)
true
if it does. Derived classes MUST override this method and check
all new fields introduced by the derived class for definitional equivalence. It is NOT necessary
to check base class fields because the base class will already have done that. When overriding this method,
you should NOT call the base implementation because it will return false
for all derived-class instances.
Derived classes should check the type of other
to preserve the symmetric nature of IEquatableDefinition.isSameDefinition(java.lang.Object)
.other
- The other instance to compare to this one.true
if the two objects are defined equivalently; otherwise false
.protected int computeCurrentDefinitionHashCode()
GpsReceiver.checkForSameDefinition(agi.foundation.infrastructure.DefinitionalObject)
method.computeCurrentDefinitionHashCode
in class DefinitionalObject
public void enumerateDependencies(DependencyEnumerator enumerator)
DependencyEnumerator#enumerate(T)
for each object that this object directly depends upon.
Derived classes which contain additional dependencies MUST override this method, call the base
implementation, and enumerate dependencies introduced by the derived class.enumerateDependencies
in interface IEnumerateDependencies
enumerateDependencies
in class DefinitionalObject
enumerator
- The enumerator that is informed of the dependencies of this object.protected void freezeAggregatedObjects()
DefinitionalObject.freeze()
to also freeze any objects that are considered to be a part of this object.
Derived classes which contain additional aggregated objects MUST override this method, call the base
implementation, and freeze aggregated objects introduced by the derived class. The objects that need to be
frozen in this method are frequently created in this object's constructor and are not settable via
properties.freezeAggregatedObjects
in class DefinitionalObject
@Nonnull public final Evaluator<PlatformCollection> getSatelliteTrackingEvaluator()
Platform
instances.
The Earth Fixed frame is used for some computations. It is obtained from the EarthCentralBody
contained in the CentralBodiesFacet
instance in the CalculationContext
.
ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<PlatformCollection> getSatelliteTrackingEvaluator(@Nonnull EvaluatorGroup group)
Platform
instances.
The Earth Fixed frame is used for some computations. It is obtained from the EarthCentralBody
contained in the CentralBodiesFacet
instance in the CalculationContext
.
group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when the group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<int[]> getSatelliteTrackingIndexEvaluator()
NavigationSatellites
(get
/ set
)
collection.
The Earth Fixed frame is used for some computations. It is obtained from the EarthCentralBody
contained in the CentralBodiesFacet
instance in the CalculationContext
.
ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<int[]> getSatelliteTrackingIndexEvaluator(@Nonnull EvaluatorGroup group)
NavigationSatellites
(get
/ set
)
collection.
The Earth Fixed frame is used for some computations. It is obtained from the EarthCentralBody
contained in the CentralBodiesFacet
instance in the CalculationContext
.
group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<SatelliteUserRangeError> getSatelliteUserRangeErrorEvaluator(@Nonnull IServiceProvider satellite, @Nonnull PerformanceAssessmentFile performanceAssessmentFile)
satellite
- The GPS satellite for which to obtain the user range error. The satellite instance must
provide IGpsPrnService
and ILocationPointService
.performanceAssessmentFile
- The Performance Assessment File (PAF) containing the ephemeris and clock errors for the navigation satellites over
a period of time.ServiceNotAvailableException
- Thrown when this GPS receiver's GpsSatelliteExtension
does not have the IGpsPrnService
.public final Evaluator<SatelliteUserRangeError> getSatelliteUserRangeErrorEvaluator(@Nonnull IServiceProvider satellite, @Nonnull PerformanceAssessmentFile performanceAssessmentFile, @Nonnull EvaluatorGroup group)
satellite
- The GPS satellite for which to obtain the user range error. The satellite instance must
provide IGpsPrnService
and ILocationPointService
.performanceAssessmentFile
- The Performance Assessment File (PAF) containing the ephemeris and clock errors for the navigation satellites over
a period of time.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ServiceNotAvailableException
- Thrown when this GPS receiver's GpsSatelliteExtension
does not have the IGpsPrnService
.ArgumentNullException
- Thrown when satellite
, performanceAssessmentFile
, or group
is null
.@Nonnull public final Evaluator<DilutionOfPrecision> getDilutionOfPrecisionEvaluator()
DilutionOfPrecision
for this GPS receiver at a given time.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<DilutionOfPrecision> getDilutionOfPrecisionEvaluator(boolean allowUndefinedDOPs)
DilutionOfPrecision
for this GPS receiver at a given time.allowUndefinedDOPs
- If true, the returned DilutionOfPrecision
will have it's Undefined Property set to true
if less than 4 satellites are used instead of throwing an exception.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<DilutionOfPrecision> getDilutionOfPrecisionEvaluator(@Nonnull EvaluatorGroup group)
DilutionOfPrecision
for this GPS receiver at a given time.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when the group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<DilutionOfPrecision> getDilutionOfPrecisionEvaluator(@Nonnull EvaluatorGroup group, boolean allowUndefinedDOPs)
DilutionOfPrecision
for this GPS receiver at a given time.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.allowUndefinedDOPs
- If true, the returned DilutionOfPrecision
will have it's Undefined Property set to true
if less than 4 satellites are used instead of throwing an exception.ArgumentNullException
- Thrown when the group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<NavigationAccuracyAssessed> getNavigationAccuracyAssessedEvaluator(@Nonnull PerformanceAssessmentFile performanceAssessmentFile)
NavigationAccuracyAssessed
for this GPS receiver at a given time.
This method will use the default AccuracyCalculationPersona
of AccuracyCalculationPersona.DILIGENT
.
performanceAssessmentFile
- The Performance Assessment File (PAF) containing the ephemeris and clock errors for the GPS satellites over
a period of time.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<NavigationAccuracyAssessed> getNavigationAccuracyAssessedEvaluator(@Nonnull PerformanceAssessmentFile performanceAssessmentFile, @Nonnull AccuracyCalculationPersona persona, @Nonnull EvaluatorGroup group)
NavigationAccuracyAssessed
for this GPS receiver at a given time.performanceAssessmentFile
- The Performance Assessment File (PAF) containing the ephemeris and clock errors for the GPS satellites over
a period of time.persona
- The AccuracyCalculationPersona
used to define how this evaluator will
react when no data is available for some satellites, ore too few satellites are available.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when the group
or performanceAssessmentFile
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<NavigationAccuracyPredicted> getNavigationAccuracyPredictedEvaluator(@Nonnull PredictionSupportFile predictionSupportFile)
NavigationAccuracyPredicted
for this GPS receiver at a given time.
The AccuracyCalculationPersona
is set to AccuracyCalculationPersona.DILIGENT
by default.
predictionSupportFile
- The prediction support file (PSF) to be used to compute the predicted accuracy.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<NavigationAccuracyPredicted> getNavigationAccuracyPredictedEvaluator(@Nonnull PredictionSupportFile predictionSupportFile, @Nonnull EvaluatorGroup group)
NavigationAccuracyPredicted
for this GPS receiver at a given time.predictionSupportFile
- The prediction support file (PSF) to be used to compute the predicted accuracy.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when the group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.@Nonnull public final Evaluator<NavigationAccuracyPredicted> getNavigationAccuracyPredictedEvaluator(@Nonnull PredictionSupportFile predictionSupportFile, @Nonnull AccuracyCalculationPersona persona, @Nonnull EvaluatorGroup group)
NavigationAccuracyPredicted
for this GPS receiver at a given time.predictionSupportFile
- The prediction support file (PSF) to be used to compute the predicted accuracy.persona
- The AccuracyCalculationPersona
used to define how this evaluator will
react when no data is available for some satellites.group
- The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.ArgumentNullException
- Thrown when the group
is null
.ServiceNotAvailableException
- Thrown when this GPS receiver's Antenna
(get
/ set
) does not have the ILocationPointService
or the IOrientationAxesService
.public final int getNumberOfChannels()
public final void setNumberOfChannels(int value)
@Nonnull public final GpsReceiverSolutionType getReceiverSolutionType()
public final void setReceiverSolutionType(@Nonnull GpsReceiverSolutionType value)
@Nonnull public final DilutionOfPrecisionOptimization getOptimizationCriteria()
GpsReceiverSolutionType.BEST_N
ReceiverSolutionType
(get
/ set
).public final void setOptimizationCriteria(@Nonnull DilutionOfPrecisionOptimization value)
GpsReceiverSolutionType.BEST_N
ReceiverSolutionType
(get
/ set
).public final IServiceProvider getAntenna()
The antenna must provide ILocationPointService
and
IOrientationAxesService
. If it provides IAccessConstraintsService
, the service will
be queried for additional constraints which will be applied in determining which satellites are visible to the
receiver. Usually, an instance of the Platform
class is used as an antenna for the receiver.
public final void setAntenna(IServiceProvider value)
The antenna must provide ILocationPointService
and
IOrientationAxesService
. If it provides IAccessConstraintsService
, the service will
be queried for additional constraints which will be applied in determining which satellites are visible to the
receiver. Usually, an instance of the Platform
class is used as an antenna for the receiver.
public final GpsReceiverNoiseModel getNoiseModel()
public final void setNoiseModel(GpsReceiverNoiseModel value)
public final AccessConstraintCollection getSatelliteConstraints()
public final AccessConstraintCollection getReceiverConstraints()
public final PlatformCollection getNavigationSatellites()
public final void setNavigationSatellites(PlatformCollection value)
@Nullable public Object getService(@Nonnull Class<?> serviceType)
getService
in interface IServiceProvider
serviceType
- An object that specifies the type of service object to get.null
if the service does not exist.ArgumentNullException
- Thrown when serviceType
is null
.