RelativeMotionUtilities.ConvertRelativeState(Variable, Variable, Spacecraft, Array) Method

Top 

Description

Converts the specified relative state from the inputSystem to the outputSystem in reference to the refSC.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

RelativeMotionUtilities.ConvertRelativeState(

Variable inputSystem,


Variable outputSystem,


Spacecraft referenceSC,


Array state)

 

 

Arguments

inputSystem


Description:

The coordinate system from which to convert.

Valid Values:

Value

Label

0

ICRF

1

VNB

2

LVLH

5

UVW

6

RIC

7

LVC (Cylindrical)

8

RIC Cylindrical

9

RIC Spherical

 

 

 

outputSystem


Description:

The coordinate system to which to convert.

Valid Values:

Value

Label

0

ICRF

1

VNB

2

LVLH

5

UVW

6

RIC

7

LVC (Cylindrical)

8

RIC Cylindrical

9

RIC Spherical

 

 

 

referenceSC


Description:

The Spacecraft to which the reference state will be evaluated.

 

 

state


Description:

Array containing the relative state to convert in the inputSystem.

Required Size:

6

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns the relative state converted into the outputSytem in units of km and km/s

 

Syntax

myArray1 = RelativeMotionUtilities.ConvertRelativeState(myVariable1, myVariable2, mySpacecraft1, myArray2);

 

 

See also

RelativeMotionUtilities Object