Quote:
Originally Posted by fiferdc
I know that some classes, when being constructed, can take a parameter specifying the slot their representative component is hooked up to. I.e. new Jaguar(5,1) would construct a Jaguar object referencing the Jaguar hooked up to channel 1 of the digital sidecar attached to slot 5. You'll have to specify this first parameter for each object you create that references a component attached to that digital sidecar.
|
Is their a way to reference a Jaguar/victor when you are calling RobotDrive(I did not see one in the javadocs)?