View Single Post
  #7   Spotlight this post!  
Unread 28-01-2012, 15:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Help Setting Up PID System for Tank Drive Train

Quote:
Originally Posted by mbushroe View Post
Ether,

how about a code sample to connect the cRIO to the internal PID of the Jaguar?
I'm not a Java programmer so I can't give you authoritative advice in this area.

According to Page 32 of this document, the Jaguar class of the WPILib library supports CAN on the Jaguar. As I mentioned in the earlier post in this thread, I don't have access to an FRC Java installation so I can't confirm whether this class supports the serial-to-CAN interface.

According to the C++ WPILib reference from 2011, there's a CANJaguar class which might have what you need (assuming there's an equivalent class in Java).


Last edited by Ether : 28-01-2012 at 16:10.
Reply With Quote