View Single Post
  #3   Spotlight this post!  
Unread 15-02-2012, 17:09
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,650
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: CANJaguar and Encoders

You also need to SetPositionReference, SetPID, and ConfigEncoderCodesPerRev.

Once you do all that, you EnableControl, and then Set the position you want.

The trickiest part is setting the PID values to useful numbers. You'll need to experiment here, and you'll want to start with small number and work your way up. Sadly, you HAVE to do this with your system completely together. You can't tune a PID unloaded and then add a load and expect it to work well or at all.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote