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

void backInto(double x, double y)

This function drives the robot backwards into a point on the field. It will use the default pid controller to do so.

Explanation

See driveTo(double, double) for a more detailed explanation of how this function works.

Example

//This will drive the robot backwards into the point (12, 12) on the field
wc.backInto(12, 12);