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

Mean of J2000 Earth Equator

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

Mean of J2000 Earth Equator

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 = myRelativeMotionUtilities1.ConvertRelativeState(myVariable1, myVariable2, mySpacecraft1, myArray2);

 

See also

RelativeMotionUtilities Object