RotatingLibrationPoint.GetSpacecraftState(Spacecraft, Variable, Variable) Method

Top 

Description

Gets the Spacecraft object's position and velocity at the Spacecraft's current epoch in the specified frame and with respect to the specified origin.

 

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

RotatingLibrationPoint.GetSpacecraftState(

Spacecraft spacecraft,


Variable frame,


Variable origin)

 

 

Arguments

spacecraft


Description:

Spacecraft whose state will be used.

 

 

frame


Description:

The desired reference frame of the state vector.

Valid Values:

Value

Label

1

ICRF

2

Inertial MJ2000 Ecliptic

3

Non-Inertial RLP Frame

 

 

 

origin


Description:

The desired origin of the frame describing the state vector.

Valid Values:

Value

Label

1

Libration Point

2

System Barycenter

3

Primary System Barycenter

4

Secondary System Barycenter

 

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

The state vector, in units of km and km/s, of the Spacecraft in the desired frame.

 

Syntax

myArray1 = myRotatingLibrationPoint1.GetSpacecraftState(mySpacecraft1, myVariable1, myVariable2);

 

 

See also

RotatingLibrationPoint Object

Rotating Libration Points Guide