Spacecraft.GetRelativeCartesianVelocity(Spacecraft, Variable) Method

Top 

Description

Returns the relative Cartesian velocity of the calling Spacecraft in reference to the refSC in the specified reference frame. Note that if the epochs of the calling Spacecraft and the refSC do not match, this will report an error.

 

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

Spacecraft.GetRelativeCartesianVelocity(

Spacecraft refSC,


Variable refFrame)

 

 

Arguments

refSC


Description:

The Spacecraft to which the reference state will be evaluated.

 

 

refFrame


Description:

The reference frame in which the state elements will be evaluated.

Valid Values:

Value

Label

0

ICRF

1

VNB

2

LVLH

5

UVW

6

RIC

 

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km/s

 

 

Returns the relative Cartesian velocity.

 

Syntax

myArray1 = mySpacecraft1.GetRelativeCartesianVelocity(mySpacecraft2, myVariable1);

 

 

See also

Spacecraft Object

Spacecraft.GetRelativeCartesianVelocity

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide