Spacecraft.Access(Spacecraft, Sensor) Method

Top 

Description

Returns the start time, end time, and duration of a Spacecraft's Sensor's view of spacecraft1. The Access time is based on the specified sensor(s).

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Note: This is an interval method. See the Interval Methods page for more information.

Note: This method has a state. See the Methods and Properties with State page for more information.

 

Method Signature

Spacecraft.Access(

Spacecraft spacecraft1,


Sensor sensor)

 

 

Arguments

spacecraft1


Description:

The Spacecraft that the calling Spacecraft is attempting to access.

 

 

sensor


Description:

Sensor to use when calculating access.

Repeatable:

1 to 30 times

 

 

 

Return Value

Type:

string

 

 

Returns the start time, end time, and duration of a Spacecraft's Sensor's view of spacecraft1. The Access time is based on sensor.

 

The FF_Preferences.IntervalEventReportingBehavior property controls whether the start and end of propagation are reported as events. By default, if the Sensor's view starts before the beginning of the propagation span, FreeFlyer will label the start of the propagation as the start of the Sensor's view. If the Sensor's view extends past the end of the propagation span, FreeFlyer labels the end of propagation as the end of the Sensor's view.

 

Syntax

myString1 = mySpacecraft1.Access(mySpacecraft2, mySensor1);

 

 

See also

Spacecraft Object

Spacecraft.Access

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide