Description | Example | Return Message | Group

AddAttitude ECIYPR

Adds attitude data based on a time-ordered set of yaw, pitch, roll angles in the J2000 ECI coordinate system

Syntax

AddAttitude <ObjectPath> ECIYPR {StartTime} {Sequence} <Yaw> <Pitch> <Roll>

Description

Use the AddAttitude ECIYPR command to modify the attitude of a vehicle using yaw, pitch and roll attitude data.

The {Sequence} parameter identifies the order of rotations where the numbers 1, 2 and 3 correspond to the rotations about the J2000 ECI X, Y and Z axes, respectively. A rotation about the Z axis is considered to a yaw, about the Y axis a pitch and about the X axis a roll. Valid values for {Sequence} are 123, 132, 213, 231, 312, 321.

The angle values, <Yaw> <Pitch> <Roll>, are entered in degrees.

For valid {StartTime} values see Time Options.

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

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

Example

To add a new line to the STK1 satellite's default attitude file in the Test scenario:

AddAttitude */Satellite/STK1 ECIYPR "1 Nov 2000 04:01:00.00" 321 30.0 45.0 60.0

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Vehicles

Version

10

STK Programming Interface 11.0.1