Click or drag to resize

GpsReceiver Constructor (PlatformCollection, Int32, IServiceProvider, Double, Double)

Initializes a new instance of a basic Gps Receiver.

Namespace:  AGI.Foundation.Navigation
Assembly:  AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public GpsReceiver(
	PlatformCollection navigationSatellites,
	int numberOfChannels,
	IServiceProvider antenna,
	double fixedMaskAngle,
	double constantNoise
)

Parameters

navigationSatellites
Type: AGI.Foundation.PlatformsPlatformCollection
The collection of navigation satellites from which this receiver can potentially receive a navigation signal.
numberOfChannels
Type: SystemInt32
The number of satellites that this receiver can simultaneously track.
antenna
Type: SystemIServiceProvider
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
Type: SystemDouble
The minimum elevation angle, in radians, that is required in order for the satellites to be considered visible to the receiver.
constantNoise
Type: SystemDouble
The constant noise value applied to all channels in the receiver, in meters.
Remarks

An ElevationAngleConstraint will be constructed with the specified fixedMaskAngle and will be added to the ReceiverConstraints collection. The EarthCentralBody required to configure the elevation angle constraint will be obtained from the CentralBodiesFacet instance in the CalculationContext.

The receiver's NoiseModel 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:

See Also