GetAttitude
Return information about the attitude profile in use for a vehicle
Syntax
GetAttitude <ObjectPath> {AttOption}
Description
The GetAttitude command returns information about the attitude profile for the selected vehicle. Valid values for {AttOption} are:
{AttOption} | Description |
---|---|
Targets | Returns information about the targets being used to orient a vehicle. This option is only valid for Satellite, LaunchVehicle and Missile. |
Profile [{ConnectName | LongName }] | Returns information about the first attitude segment for the vehicle. |
Segments [{ConnectName | LongName }] | Returns the name, start and stop times for all attitude segments for the vehicle. |
For the Profile and Segments options specify ConnectName to return the attitude name used in the SetAttitude Profile and AddAttitude Profile commands. Use the LongName keyword to return the attitude name used in GUI. But note, for an attitude segment using a file, the filename will always be returned; and for an attitude segment using a target, the target name will always be returned.
To set targets for use in orienting a satellite, use the SetAttitude Target command.
Examples
To return the list of targets used to orient the ERS1 satellite:
Return message
In the first example using the Targets {AttOption}, Connect returns a message that includes all targets along with the interval during which each target is being used. If no targets have been assigned, Connect returns a 0.GetAttitude */Satellite/ERS1 Targets GETATTITUDE 27 GETATTITUDE 80 Target/Target1, "1 Jul 1998 02:06:13.429738080", "1 Jul 1998 02:13:17.121584586" GETATTITUDE 80 Target/Target1, "1 Jul 1998 03:37:59.066902019", "1 Jul 1998 03:49:14.185627625" GETATTITUDE 80 Target/Target1, "1 Jul 1998 05:12:06.919926282", "1 Jul 1998 05:20:26.243537888" GETATTITUDE 84 Aircraft/Aircraft1, "1 Jul 1998 06:56:04.39932257" "1 Jul 1998 07:04:48.874115382" GETATTITUDE 80 Target/Target1, "1 Jul 1998 12:45:09.397236986" "1 Jul 1998 12:50:56.648810727" GETATTITUDE 80 Target/Target1, "1 Jul 1998 14:14:50.288402629" "1 Jul 1998 14:25:53.036239202" GETATTITUDE 80 Target/Target1, "1 Jul 1998 15:49:09.960545539" "1 Jul 1998 15:20:13.022356001"
Examples
To return the name, start and stop times for all attitude segments for the SatAtt1 satellite:
Returns:
To return the name, start and stop times for all attitude segments for the SatAtt1 satellite, using the LongName (or GUI name) option:
Returns:
To return the name, start and stop times for all attitude segments for the SatAtt1 satellite, using the ConnectName option:
Returns:
Group membership
This command belongs to the following group(s):
Version
9.1