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

Top 

Description

Returns the relative velocity converted into the outputSystem.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Method Signature

RelativeMotionUtilities.ConvertRelativeVelocity(

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 = 3)

Units:

km

 

 

Returns the converted velocity.

 

Syntax

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

 

 

See also

RelativeMotionUtilities Object