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

PVector botPos()

Returns the global position of the robot

Example

//This will print the global position of the robot
std::cout << wc.botPos().x << ", " << wc.botPos().y << std::endl;