Skip to main content Link Menu Expand (external link) Document Search Copy Copied

double yPosition()

Returns the y position of the robot in inches.

Returns

A double containing the y position of the robot in inches.

Example

positioner.setPos(PVector(0, 0), 0);
cout << positioner.yPosition() << endl;
// Prints 0