Description | Example | Return message | Group

AddAttitude Quat

Adds attitude data based on a time-ordered set of quaternions

Syntax

AddAttitude <ObjectPath> Quat {StartTime} <Q1> <Q2> <Q3> <Q4>

Description

Use this command to modify the attitude of a vehicle by passing attitude quaternion data to STK. Coordinate system used in ECI J2000 to Body. <Q1> through <Q4> are components of a quaternion, where <Q1> through <Q3> specify a vector (spin axis) and <Q4> specifies a rotation.

For valid {StartTime} values see Time Options.

The AddAttitude Quat command is similar to using an external attitude profile, except that the points are entered one at a time using this command.

Multiple inputs of attitude data must be entered with increasing times. If you attempt to enter attitude data that is dated prior to existing attitude data, the new entry is ignored. To clear old data, use the SetAttitude ClearData Connect command.

Examples

To add a new line to the Shuttle's default attitude file:

AddAttitude */Satellite/Shuttle Quat "1 Nov 2000 04:01:00.00" 0.2588 0.0 0.4830 0.8365

Return message

If activated, Connect returns an acknowledgment message.

Group membership

This command belongs to the following group(s):

Vehicles

Version

10