Description | Example | Return message | Group

FieldOfView_RM

Compute field of view to an identified number of MTO tracks from a Sensor.

Syntax

FieldOfView_RM <MTOObjectPath> Object <SensorObjPath> {FOVOptions}

Description

Use the FieldOfView_RM command to compute field of view to an identified number of MTO tracks (or all of them), from an STK Sensor Object.

The <SensorObjPath> specifies the sensor to which field of view is being computed. <SensorObjPath> must specify a Sensor.

The following table describes the {FOVOptions}.

{FOVOptions}Description
Time "{TimeValue} | UseTrackTimes"Enter the time at which one is checking for field of view from the MTO. Default is the current Animation time.

Enter "UseTrackTimes" to check for field of view over all track times.

For valid {TimeValue} values see Time Options.

Mode {Any | All | Each | EachVisible | EachNotVisible}Enter method for returning data. Default Mode is Any.
  • Any returns 1 if any track is within field of view to the Object else returns 0
  • All returns 1 if every track is within field of view otherwise it returns 0
  • Each, for every track, returns the track id, 1 (within field of view) or 0 (not in field of view)
  • EachVisible returns the Track_id and 1, only for those tracks in field of view
  • EachNotVisible returns the Track_id and 0, but only for those tracks not in field of view

If an object is not available then the message "Object not available" will be returned.

Track <TrackId> Enter the id of a track from which field of view 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.

Examples

Return which of the two MTO tracks does not have field of view to Satellite1/Sensor1 at the time indicated:

FieldOfView_RM */MTO/MTO1 Object Satellite/Satellite1/Sensor/Sensor1 Time "1 Jul 2007 12:55:00.00" Mode EachNotVisible

Return message

1,0 2,0

Examples

Return a 1 if either track 2 or track 3 has field of view to Satellite1/Sensor1:

FieldOfView_RM */MTO/MTO1 Object Satellite/Satellite1/Sensor/Sensor1 Track 2 Track 3

Group membership

This command belongs to the following group(s):

MTO

Version

11.4