AttitudeSegment
Add, modify and delete attitude profile and file segments.
Syntax
AttitudeSegment <ObjectPath> {Add | Delete | Modify} {SegmentType} <Parameters>
Related commands
Description
The AttitudeSegment command allows you to add, modify and delete attitude profile and file segments.
Valid values for {SegmentType} are Profile and File. To manipulate Attitude Target segments use the SetAttitude Target command.
Attitude Profile Segment
The AttitudeSegment Profile command allows you to add, modify or delete an attitude profile segment.
To Add an attitude profile segment, use the following syntax:
AttitudeSegment <ObjectPath> Add Profile <ProfileName> {ProfileStartTime} {ProfileType} <Parameters>
When adding a profile segment the {ProfileType} and <Parameters> are the same as those for the AddAttitude File command. The <ProfileName> and {ProfileStartTime} entered for the segment should be unique.
The FixedTimeSlew {ProfileType} is also available when adding or modifying an attitude segment. This profile type includes a Smooth parameter. The format for the {ProfileType} <Parameters> is:
FixedTimeSlew Smooth {On | Off}
For valid {ProfileStartTime} values see Time Options.
The command will nack if the start time entered is the duplicate of an existing profile's start time.
There will always be at least one attitude profile already existing for a vehicle. This attitude profile's start time will match the scenario start time. To change this profile use the AttitudeSegment Modify Profile command.
To Modify an attitude profile segment, use the following syntax:
AttitudeSegment <ObjectPath> Modify Profile {<ProfileName> [|] {ProfileStartTime}} [StartTime {NewStartTime}] {ProfileType} <Parameters>
The {ProfileType} and <Parameters> are the same as those for the AddAttitude File command. The <ProfileName> and/or {ProfileStartTime} are used to identify the profile being modified. Either the name or time can be entered or both can be entered. The command will Nack if a match is not found.
Include the optional StartTime {NewStartTime} to change the start time of the segment. For valid {NewStartTime} values see Time Options.
To Delete an attitude profile segment, use the following syntax:
AttitudeSegment <ObjectPath> Delete Profile {<ProfileName> | {ProfileStartTime}}
The <ProfileName> and/or {ProfileStartTime} are used to identify the profile being deleted. Either the name or time can be entered or both can be entered.
One profile segment must always be defined for a vehicle. If only one Profile Segment exists, Connect will Nack if you attempt to delete it.
Attitude File Segment
The AttitudeSegment File command allows you to add, modify or delete an attitude file segment. You can also define a Reference attitude profile for the file segment.
To Add an attitude file segment, use the following syntax:
AttitudeSegment <ObjectPath> Add File "<FilePath>" [Reference {Default | Profile {ProfileType} <Parameters>}]
The {ProfileType} and <Parameters> are the same as those for the AddAttitude File command. If the Reference section is not entered then Default will be used.
To Modify an attitude file segment, use the following syntax:
AttitudeSegment <ObjectPath> Modify File "<FilePath>" Reference {Default | Profile {ProfileType} <Parameters>}
The {ProfileType} and <Parameters> are the same as those for the AddAttitude File command.
To Delete an attitude file segment, use the following syntax:
AttitudeSegment <ObjectPath> Delete File "<FilePath>"
"<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.
Examples
Add an attitude file segment to Satellite2:
Modify the attitude file segment for Satellite2, by defining a reference profile:
Delete the attitude file segment for Satellite2:
Examples
Add an attitude profile segment to Satellite1:
Modify the Test1 attitude profile segment on Satellite1:
Modify the Test1 attitude profile segment on Satellite1, using just the StartTime to identify the profile:
Delete the attitude profile segment named Test1 on Satellite1:
Examples
Add an attitude profile segment to Satellite1:
Modify the segment start time and profile:
Identify the segment by time, and change the start time to a time component (note: the GetAttitude command will return the actual start time of the segment, not the component name):
Return message
Group membership
This command belongs to the following group(s):
Version
11.5