Table of Contents

Class GPSSensor

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

Simulates the GPS Sensor onboard a satelite

public class GPSSensor : Sensor
Inheritance
GPSSensor
Inherited Members

Constructors

GPSSensor()

Base class for initialization

public GPSSensor()

Fields

ClockBias

[s] The bias on the clock

[EditableVariable("s", 0, false, "", "")]
public double ClockBias

Field Value

double

ECIPosition

Satelite Initial Position ECEF

[EditableVariable("m", true, "", "")]
public Vector3 ECIPosition

Field Value

Vector3

LLA

Satellite Position in LLA format

public GeodeticElements LLA

Field Value

GeodeticElements

Out_GPSReceiverMsg

Incoming GPS messages

public readonly GPSReceiverMessage Out_GPSReceiverMsg

Field Value

GPSReceiverMessage

Out_NavTransMsg

Output translational state estimate

public readonly NavTransMessage Out_NavTransMsg

Field Value

NavTransMessage

Properties

Altitude

[m] The altitude estimated

[EditableVariable("m", true, "", "")]
public double Altitude { get; }

Property Value

double

IsActive

Node status (true = ON, false = OFF)

public bool IsActive { get; }

Property Value

bool

Latitude

[deg] The latitude estimated

[EditableVariable("deg", true, "", "")]
public double Latitude { get; }

Property Value

double

Longitude

[deg] The longitude estimated

[EditableVariable("deg", true, "", "")]
public double Longitude { get; }

Property Value

double

Methods

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)

OnDecodeMetadata(JObject)

Called after the "Component" was loaded to handle additional metadata.

protected override void OnDecodeMetadata(JObject metadata)

Parameters

metadata JObject

OnEncodeMetadata(JObject)

Called while the "Component" is being saved to save additional metadata.

protected override JObject OnEncodeMetadata(JObject metadata)

Parameters

metadata JObject

Returns

JObject

OnReset(double)

Called when the 'Component' is reset from a simulation

protected override void OnReset(double time)

Parameters

time double

reset 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)