AIO_TrackingOn Function

Returns whether the specified robot is executing the distance tracking function or not.

Syntax
AIO_TrackingOn(robotNumber)

Parameters

robotNumber
Specify the number of the robot whose status you wish to obtain, either as an expression or as a number.

Return Values
True (-1) when the distance tracking function is executed, False(0) when it stopped.

See Also
AIO_TrackingSet, AIO_TrackingStart, AIO_TrackingEnd

AIO_TrackingOn Function Example

Function Main
  Integer i
  i = AIO_TrackingOn(1)
  print i
Fend

Example on command window

> print AIO_TrackingOn(1)
0