Description | Example | Return message | Group

AddAttitude Euler

Adds attitude data based on a time-ordered set of Euler angles

Syntax

AddAttitude <ObjectPath> Euler {StartTime} {Sequence} <Angle1> <Angle2> <Angle3>

Description

Use the AddAttitude Euler command to modify the attitude of a vehicle using Euler attitude data with reference to an ECI J2000 coordinate system for Earth or Central Body Inertial (CBI) for other central bodies.

The {Sequence} parameter identifies the order of rotations for converting the Euler angles to a quaternion. Valid values for {Sequence} are 121, 123, 131, 132, 212, 213, 231, 232, 312, 313, 321, 323.

The angle values, <Angle1> <Angle2> <Angle3>, are entered in degrees.

For valid {StartTime} values see Time Options.

The AddAttitude Euler 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 command.

Examples

To add a new line to the default attitude file of the STK1 satellite in the Test scenario, first use the SetUnits command to set the time units to epoch seconds, then:

AddAttitude */Satellite/STK1 Euler "100.0" 321 30.0 45.0 60.0

Return message

If activated, Connect returns an acknowledgment message.

Group membership

This command belongs to the following group(s):

Vehicles

Version

10