Vehicle.Azimuth(Vehicle, Sensor) Method

Top 

Description

Returns the angle measured from the positive x-axis to the projected location of the target on the x-y plane in the coordinate frame of the input sensor.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Vehicle.Azimuth(

Vehicle vehicle,


Sensor sensor)

 

 

Arguments

vehicle


Description:

The target Vehicle to be used in the azimuth calculation.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

sensor


Description:

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

 

 

 

Return Value

Type:

number

Units:

deg

 

 

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

 

Syntax

myVariable1 = myVehicle1.Azimuth(myVehicle2, mySensor1);

 

 

See also

Vehicle Object

Vehicle.Azimuth