GroundWaypoints.CurrentIndex Property

Top 

Description

The current waypoint index - this is updated automatically via stepping. Note that this is only guaranteed to be the closest point less than or equal to the current epoch when stepping forward or greater than or equal to the current epoch when stepping backward, as the stepping may be between points. Manually setting this with an attached Vehicle will force the Vehicle's state to match the selected waypoint'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.

 

Attributes

Type:

integer

Access:

read/write

Default Value:

0

Valid Range:

GroundWaypoints.CurrentIndex ≥ 0

 

Syntax

myVariable1 = myGroundWaypoints1.CurrentIndex;

 

myGroundWaypoints1.CurrentIndex = myVariable1;

 

See also

GroundWaypoints Object