Spacecraft.SetAttitudeRefFrame(Variable) Method

Top 

Description

Sets the Spacecraft's attitude reference frame to one of the predefined reference frames supported by FreeFlyer as specified by targetAttitudeRefFrame. This reinitializes the Spacecraft's attitude representation, which sets the Spacecraft's EulerSequence to the default value of {3,1,2}.

 

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.SetAttitudeRefFrame(

Variable targetAttitudeRefFrame)

 

 

Arguments

targetAttitudeRefFrame


Description:

Attitude reference frame to use.

Valid Values:

Value

Label

0

Spacecraft's current local vertical and local horizontal reference system

1

Mean of J2000 inertial reference system

2

Spacecraft's current geodetic system

3

Spacecraft's current velocity-normal-binormal reference system

4

Spacecraft's current UVW reference system

5

Spacecraft's current RIC reference system

 

 

 

 

Return Value

Type:

boolean

 

 

Returns an integer corresponding to the success of setting the attitude reference frame for the Spacecraft.

 

Syntax

myVariable1 = mySpacecraft1.SetAttitudeRefFrame(myVariable2);

 

 

See also

Spacecraft Object

Spacecraft.SetAttitudeRefFrame

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide