void backwardsDriveDistance(double distance, PidController* controller)
Drives the robot the specified distance backwards using the specified PidController.
Parameters
distance- The distance to drivecontroller- The PidController to use
Example
wc.estimateStartPos({0, 0}, 0);
wc.backwardsDriveDistance(24, &pidController);