View Single Post
  #1   Spotlight this post!  
Unread 27-01-2010, 02:02
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Changing Crio Digital Sidecar input slot from slot 4 to 5

Quote:
Originally Posted by Trevor_Decker View Post
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
Reply With Quote