GroundWaypoints.AddWaypoint(Variable, Variable, Variable) Method

Top 

Description

Uses the provided epoch, latitude, and longitude to create a new GroundVehicleWaypoint object, then inserts it into the Waypoints array chronologically based on the epoch.

 

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

GroundWaypoints.AddWaypoint(

Variable Epoch,


Variable Latitude,


Variable Longitude)

 

 

Arguments

Epoch


Description:

The epoch of the new waypoint to be created and inserted into the Waypoints array. If the epoch is already in the Waypoints array, an error will be thrown.

 

 

Latitude


Description:

The latitude of the new waypoint to be created and inserted into the Waypoints array.

Units:

deg

Valid Range:

-90 ≤ Latitude ≤ 90

 

 

Longitude


Description:

The longitude of the new waypoint to be created and inserted into the Waypoints array.

Units:

deg

Valid Range:

0 ≤ Longitude ≤ 360

 

 

 

Syntax

myGroundWaypoints1.AddWaypoint(myVariable1, myVariable2, myVariable3);

 

 

See also

GroundWaypoints Object