Description | Example | Return Message | Group

Position_RM

Compute position of MTO tracks at time.

Syntax

Position_RM <MTOObjectPath> {PosOptions}

Description

Use the Position_RM command to compute position, at a specified time, of any or all MTO tracks.

The following table describes the {PosOptions}.

{PosOptions} Description
Time "{TimeValue}" Enter the time at which one is computing position from the MTO. Default is the current Animation time.

For valid {TimeValue} values see Time Options.

AltRef {Ellipsoid | Terrain | MSL} Specify the altitude reference. Default is Ellipsoid.
Track <TrackId> Enter the id of a track for which position is being computed. The Track option can be specified multiple times to select a subset of the tracks. If no tracks are selected in this manner, all tracks are considered.

For each track the following data is returned: TrackID, Latitude, Longitude, Altitude, cbf X, cbf Y, cbf Z. Latitude and Longitude are returned in degrees. Remaining values are returned in connect Distance units.

Example

Return the position of the MTO tracks at the time indicated:

Position_RM */MTO/MTO1 Time "1 Jul 2007 12:55:00.00"

ReturnMessage

0,0.000000000000,0.000000000000,1000.000000,6379137.000000,0.000000,0.000000
1,0.000000000000,2.000000000000,1000.000000,6375251.002098,222628.670696,0.000000
2,0.000000000000,4.000000000000,1000.000000,6363597.742882,444986.102651,0.000000
3,0.000000000000,6.000000000002,1000.000000,6344191.420054,666801.387584,0.000000

Example

Return position of tracks 2 and 3 at the current animation time:

Position_RM */MTO/MTO1 Track 2 Track 3

Group Membership

This command belongs to the following group(s):

MTO

Version

10

STK Programming Interface 11.0.1