View Single Post
  #1   Spotlight this post!  
Unread 23-01-2010, 15:51
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Position Control using potentiometer?

In BDC-COMM, I can set the control mode of the jaguar to position using a potentiometer.
The little text box that displays the position updates as I move the shaft, but when I try to move the shaft to a set-point, the shaft always turns away from it.
So, when I tried reversing the sign on the PID constants to make it go the other direction, it would turn past the point and never try to come back to the set point.

Also, I tried using the soft-limit feature on the Jag, but the jag happily goes past the limit without stopping.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote