GroundVehicle.SetHeading(Variable, Variable) Method

Top 

Description

Adjusts the velocity vector and heading values of the calling GroundVehicle to reorient towards the specified latitude and longitude.

 

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.

 

Method Signature

GroundVehicle.SetHeading(

Variable targetLatitude,


Variable targetLongitude)

 

 

Arguments

targetLatitude


Description:

The latitude of the endpoint.

Units:

deg

Valid Range:

-90 ≤ targetLatitude ≤ 90

 

 

targetLongitude


Description:

The longitude of the endpoint.

Units:

deg

Valid Range:

0 ≤ targetLongitude ≤ 360

 

 

 

Syntax

myGroundVehicle1.SetHeading(myVariable1, myVariable2);

 

 

See also

GroundVehicle Object

GroundVehicle.SetHeading