Vehicle.Elevation(Vehicle, Sensor) Method

Top 

Description

Returns the angle between the reference-to-target vector and the x-y plane of the reference object in the coordinate frame of the input sensor.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Method Signature

Vehicle.Elevation(

Vehicle vehicle,


Sensor sensor)

 

 

Arguments

vehicle


Description:

The target Vehicle to be used in the elevation calculation.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

sensor


Description:

The Sensor that provides the coordinate frame for the elevation calculation.

 

 

 

Return Value

Type:

number

Units:

deg

 

 

Returns the elevation angle of the argument as seen from the reference object.

 

Syntax

myVariable1 = myVehicle1.Elevation(myVehicle2, mySensor1);

 

 

See also

Vehicle Object

Vehicle.Elevation