Gavin,
First ... feel free to use the "["CODE"]" and "["/CODE"]" markers (without the double-quotes) around anything that you want NOT formatted (smiles etc) - works like a champ.
Now for TankDrive, this is the drive mechanism where you (usually) want two joysticks - one is all about the left wheels and the other is all about the right wheels. Right? If that's indeed what you're looking for, then only the Y-Axis would be looked at for each of the joysticks. As such, TankDrive() would have inputs from two different sticks like:
BTW - I'm not familiar with your Robot:: class so I'm going to use my own 'Joystick' instances - if you have your own already, feel free to substitute...
Found somewhere like RobotInit()...
Code:
JoyStick leftStick(0);
JoyStick rightStick(1);
Code:
TankDrive(leftStick.GetY(), rightStick.GetY());
This is the gist of it. Does that make sense? Let me know if not.
roboBob