Spacecraft.Quaternion Property

Top 

Description

Returns the four components of the attitude quaternion of a Spacecraft. The first three components represent the vector part of the quaternion, the last component represents the scalar part. FreeFlyer uses the right-handed convention when applying the quaternion rotation.

 

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.

 

Attributes

Type:

Array of number (size = 4)

Access:

read/write

Default Value:

{ 0, 0, 0, 1 }

 

Syntax

myVariable1 = mySpacecraft1.Quaternion[0];

 

mySpacecraft1.Quaternion[0] = myVariable1;

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide