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}" Enter the time at which one is checking for field of view from the MTO. Default is the current Animation time.

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.

Example

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

ReturnMessage

1,0
2,0

Example

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

10

STK Programming Interface 11.0.1