Spacecraft.SetRelativeCartesianState(Spacecraft, Array, Variable) Method

Top 

Description

Sets the calling Spacecraft's Cartesian state in reference to the refSC in the specified refFrame. 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.SetRelativeCartesianState(

Spacecraft refSC,


Array state,


Variable refFrame)

 

 

Arguments

refSC


Description:

The Spacecraft to which the reference state will be evaluated.

 

 

state


Description:

Array containing the relative Cartesian elements.

Required Size:

6

 

 

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

 

 

 

 

Syntax

mySpacecraft1.SetRelativeCartesianState(mySpacecraft2, myArray1, myVariable1);

 

 

See also

Spacecraft Object

Spacecraft.SetRelativeCartesianState

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide