RotatingLibrationPoint.GetPosVelOfObject(Variable, Spacecraft, Variable) Method

Top 

Description

Returns an Array containing the position and velocity of the argument object relative to the RotatingLibrationPoint, expressed in the specified frame.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

RotatingLibrationPoint.GetPosVelOfObject(

Variable epoch,


Spacecraft spacecraft,


Variable frame)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the RotatingLibrationPoint object.

 

 

spacecraft


Description:

The Spacecraft whose position and velocity will be returned.

 

 

frame


Description:

The reference frame of the returned position and velocity vector.

Valid Values:

Value

Label

1

ICRF

2

Inertial MJ2000 Ecliptic

3

Non-Inertial RLP Frame

 

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

A 6-element array containing the position and velocity, in units of km and km/s, of the specified object.

 

Syntax

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

 

 

See also

RotatingLibrationPoint Object

RotatingLibrationPoint.GetPosVelOfObject

Rotating Libration Points Guide