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

void faceTarget(PVector target)

Turns the robot to face a target position.

Parameters

  • target - The target position

Example

wc.estimateStartPos({0, 0}, 0);
wc.faceTarget({12, 12});