Description | Example | Return Message | GroupAddAttitudeAngVels

AddAttitude AngVels

Adds attitude data based on a time-ordered set of angular velocities.

Syntax

AddAttitude <ObjectPath> AngVels {StartTime} <XAngVel> <YAngVel> <ZAngVel>

Description

Use the AddAttitude AngVels command to modify the attitude of a vehicle using angular velocity attitude data.

The angular velocity values, <XAngVel> <YAngVel> <ZAngVel>, are entered in degrees/second.

For valid {StartTime} values see Time Options.

The AddAttitude AngVels 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 AngVels 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 AngVels "1 Jul 2007 12:00:10.00" 3.0 4.0 6.0

AddAttitude */Satellite/Satellite1 AngVels "1 Jul 2007 12:00:20.00" -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