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

void backwardsDriveDistance(double distance)

Drives the robot the specified distance backwards using the default PidController.

Parameters

  • distance - The distance to drive

Example

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

wc.backwardsDriveDistance(24);