RotatingLibrationPoint.SetSpacecraftState(Spacecraft, Variable, Variable, Array) Method

Top 

Description

Sets the Spacecraft object's position and velocity at the Spacecraft's current epoch given the state vector 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.SetSpacecraftState(

Spacecraft spacecraft,


Variable frame,


Variable origin,


Array posVelArray)

 

 

Arguments

spacecraft


Description:

Spacecraft whose state will be set.

 

 

frame


Description:

The reference frame of the state vector.

Valid Values:

Value

Label

1

ICRF

2

Inertial MJ2000 Ecliptic

3

Non-Inertial RLP Frame

 

 

 

origin


Description:

The 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

 

 

 

posVelArray


Description:

The state vector containing the position and velocity which will be applied to the Spacecraft object.

Required Size:

6

 

 

 

Syntax

myRotatingLibrationPoint1.SetSpacecraftState(mySpacecraft1, myVariable1, myVariable2, myArray1);

 

 

See also

RotatingLibrationPoint Object

Rotating Libration Points Guide