Position

Position refers to the location or placement of the robot or its components within the playing field or its own coordinate system. It's a fundamental concept for understanding and controlling the robot's movements and interactions with its environment. The blocks in this section allow you to create position objects, manipulate these objects, and obtain information from these objects.

Position.DistanceUnit

Returns the distance unit used by the given position object.

Position.X

Returns X value of the position represented by a given position object.

Position.Y

Returns Y value of the position represented by a given position object.

Position.Z

Returns Z value of the position represented by a given position object.

Position.AcquisitionTime

Returns acquisition time of a given position object.

Position.toDistanceUnit

Returns a new position object based on a given position object and a new distance unit.

toText

Returns a text representation of a given position object.

new Position

Returns a new position object with all X, Y, Z values being 0.

new Position (expanded)

Returns a new position object using the given distance using x, y and z values. It uses the current system time as the acquisition time.