Spacecraft.SetAttitudeRefFrame(CoordinateSystem) Method

Top 

Description

Sets the Spacecraft's attitude reference frame to a custom CoordinateSystem object as specified by targetCoordinateSystem. 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(

CoordinateSystem targetCoordinateSystem)

 

 

Arguments

targetCoordinateSystem


Description:

Coordinate System to use as the Spacecraft's attitude reference frame.

 

 

 

Return Value

Type:

boolean

 

 

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

 

Syntax

myVariable1 = mySpacecraft1.SetAttitudeRefFrame(myCoordinateSystem1);

 

 

See also

Spacecraft Object

Spacecraft.SetAttitudeRefFrame

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide