Quote:
Originally Posted by Trevor_Decker
Is their a way to reference a Jaguar/victor when you are calling RobotDrive(I did not see one in the javadocs)?
|
When you construct it, you can pass in Jaguars that were constructed for slot 6...
Code:
Jaguar left = new Jaguar(6, 1);
Jaguar right = new Jaguar(6, 2);
RobotDrive drive = new RobotDrive(left, right);
-Joe