Description | Example | Return Message | Group

AddAttitude EulerRates

Adds attitude data based on a time-ordered set of Euler angle rates.

Syntax

AddAttitude <ObjectPath> EulerRates {StartTime} {Sequence} <AngleRate1> <AngleRate2> <AngleRate3>

Description

Use the AddAttitude EulerRates command to modify the attitude of a vehicle using rates of Euler angles attitude data.

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 rate values, <AngleRate1> <AngleRate2> <AngleRate3>, are entered in degrees/second.

For valid {StartTime} values see Time Options.

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

Note: At least one attitude data point must be added before using the AddAttitude EulerRates command, otherwise the command will NACK.

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

The following commands will add three points to Satellite1's attitude:

AddAttitude */Satellite/Satellite1 Euler "1 Jul 2007 12:00:00.00" 321 0.0 0.0 0.0

AddAttitude */Satellite/Satellite1 EulerRates "1 Jul 2007 12:00:10.00" 321 3.0 4.0 6.0

AddAttitude */Satellite/Satellite1 EulerRates "1 Jul 2007 12:00:20.00" 321 -3.0 -4.0 -6.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