Table of Contents

Class GroundStation

Namespace
NominalSystems.Universe
Assembly
NominalSystems.Universe.dll

A ground station is able to track objects in space and determine access between these objects and ground stations. Objects can include spacecraft, planets, the Sun, or other ground stations. It is also a ground body, meaning it can be placed on the world.

public class GroundStation : GroundObject
Inheritance
GroundStation
Inherited Members

Constructors

GroundStation()

public GroundStation()

Fields

MaximumRange

[m] The maximum range that the spacecraft can be away to be accessed. If less than or equal to 0, then this is ignored.

[EditableVariable("m", 0, false, "", "")]
public double MaximumRange

Field Value

double

MinimumElevation

[deg] The minimum elevation a craft needs to be to be tracked above the horizon

[EditableVariable("deg", 0, 90, false, "", "")]
public double MinimumElevation

Field Value

double

Out_GroundStatesMsg

The Ground Station message that is produced by this class

public GroundStatesMessage Out_GroundStatesMsg

Field Value

GroundStatesMessage

OverrideAccess

[-] A flag that overrides the access and ignores all lines of sight for accessing the ground station and assumes the access is true.

[EditableVariable("-", false, "", "")]
public bool OverrideAccess

Field Value

bool

Methods

GetSpacecraftAccess(Spacecraft)

Computes the spacecraft access at the current time and returns the message. If the message already exists, then it will return the current one.

public AccessMessage GetSpacecraftAccess(Spacecraft spacecraft)

Parameters

spacecraft Spacecraft

The spacecraft to compute

Returns

AccessMessage

The access message

IsChildTypeSupported(Type)

Returns true if 'Component' type is a supported child

protected override bool IsChildTypeSupported(Type type)

Parameters

type Type

a 'Component' type

Returns

bool

OnBegin(double)

Called when the 'Component' is beginning

protected override void OnBegin(double time)

Parameters

time double

current time (seconds)

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)

TrackSpacecraft(Spacecraft)

Starts to track a particular spacecraft and returns the access message that is created between this ground station and the spacecraft.

public AccessMessage TrackSpacecraft(Spacecraft spacecraft)

Parameters

spacecraft Spacecraft

The spacecraft to track

Returns

AccessMessage

The access message between the craft and the ground station

UpdateInertialCoordinates()

Updates the inertial coordinates of the ground body in relation to the planet.

protected override void UpdateInertialCoordinates()