For those trying to learn from this thread, the non-whitespace differences between the intitial (21:04) and updated (21:27) code are:
Code:
# diff -w initial.txt updated.txt
14,15c14,15
< Joystick leftStick; // set to ID 1 in DriverStation
< Joystick rightStick; // set to ID 2 in DriverStation
---
> Joystick leftStick = new Joystick(0); // set to ID 0 in DriverStation
> Joystick rightStick = new Joystick(1); // set to ID 1 in DriverStation
16a17
> double leftStickVal,rightStickVal;
37c38,42
< myRobot.tankDrive(leftStick, rightStick);
---
>
> leftStickVal = Math.pow(leftStick.getY(),3);
> rightStickVal= Math.pow(rightStick.getY(),3);
>
> myRobot.tankDrive(leftStickVal, rightStickVal);