View Single Post
  #3   Spotlight this post!  
Unread 21-02-2012, 18:01
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,727
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Control system not reading Encoder HELP!!!

To read from an encoder on a Jaguar, in your program you need to set the speed reference to quadrature encoder, the position reference to quadrature encoder, and set the counts per revolution of the encoder. Those should all be methods of the CANJaguar class. Then you should be able to read speed or position from the encoder through the jaguar. Sorry I can't tell you the exact Java methods, but I don't have the Java API on this computer.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote