Description
Inertially fixed attitude profile: maintains a constant orientation of the body-fixed axes with respect to the inertial axes, using the selected coordinate type.
Public Properties
Interfaces
CoClasses that Implement IAgVeProfileInertial
Example
Add attitude data based on a time-ordered set of quaternions
[C#] |
---|
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard);
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard;
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed);
IAgVeProfileInertial interfix = standard.Basic.Profile as IAgVeProfileInertial;
interfix.Inertial.AssignQuaternion(-0.34298, -0.47081, 0.70345, 0.40725);
|
|
Add attitude data based on a time-ordered set of Euler angles
[C#] |
---|
// Set Attitude to Standard
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard);
// Get IAgVeOrbitAttitudeStandard interface
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard;
// Set Profile to Inertially Fixed
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed);
// Get IAgVeProfileInertial interface
IAgVeProfileInertial interfix = standard.Basic.Profile as IAgVeProfileInertial;
interfix.Inertial.AssignEulerAngles(AgEEulerOrientationSequence.e123, 20.1, 50.0, 20.0);
|
|
Add attitude data based on a time-ordered set of quaternions
[Visual Basic .NET] |
---|
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard)
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed)
Dim interfix As IAgVeProfileInertial = TryCast(standard.Basic.Profile, IAgVeProfileInertial)
interfix.Inertial.AssignQuaternion(-0.34298, -0.47081, 0.70345, 0.40725)
|
|
Add attitude data based on a time-ordered set of Euler angles
[Visual Basic .NET] |
---|
' Set Attitude to Standard
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeStandard)
' Get IAgVeOrbitAttitudeStandard interface
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
' Set Profile to Inertially Fixed
standard.Basic.SetProfileType(AgEVeProfile.eProfileInertiallyFixed)
' Get IAgVeProfileInertial interface
Dim interfix As IAgVeProfileInertial = TryCast(standard.Basic.Profile, IAgVeProfileInertial)
interfix.Inertial.AssignEulerAngles(AgEEulerOrientationSequence.e123, 20.1, 50, 20)
|
|