Class in Zendir.Classes | Inherits from UniverseSystem

Declaration

class GlobalPositioningSystem;

Description

The GPS (global positioning system) constellation system is able to provide positioning information about a particular constellation of GPS spacecraft that are initialised.


Properties

DeclaredDescription
ActiveSatellitesA list of active satellites based on a flag. This will be used to determineif the satellite is active or not. By disabling some satellites, the GPSposition may become inaccurate.
FilePathThe file path for the GPS constellation data.
IsInitialisedA flag whether the data has been loaded. This will ensure that on a newserialization, the data is reloaded.
NumSatellitesThe total number of satellites that are available in the network.
Out_GPSEnvironmentMsgPublished GPS RF environment (diffuse jamming, jammer slots, future spoofing fields).Consumers such as apply this per receiver using geometry;the constellation truth in stays separate.
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.

Methods

DeclaredDescription
AddJammingEffectAdds or overwrites a jammer slot on and enables theenvironment. Parallel arrays are grown if needed. Returns the slot index used.
ClearClears the GPS system and removes all spacecraft points from the currentlist of positions.
ClearSpoofingClears spoofing fields on (mode ,zero radius, zero vectors, seed 0). Does not changeor jammer arrays — use that flag or when you want the whole environment off.
EnableSpoofingEnables spoofing on by turning the RF environment on andwriting the spoof fields consumed in .
GetNumJammersReturns how many jammer rows exist on (parallel array length),including slots with false if present.
GetTransmitterStatusReturns whether the GPS transmitter at is enabled for(constellation must be initialised).
InitialiseLoads the GPS constellation from a TLE lookup file, which will load in allthe TLEs and create the transmitters associated with the GPS constellation.
RemoveJammingEffectRemoves the jammer row at by splicing it out of every parallel array andshrinking storage. Indices at or above shift down by one. Out-of-rangeindices are ignored.
SetTransmitterStatusEnables or disables the GPS transmitter at for(constellation must be initialised).
UpdateJammingEffectOverwrites the jammer slot at with new geometry and ERP, sets whether thatslot participates in jamming, and turns the RF environment on (same field semantics aswhen is ).