View Single Post
  #1   Spotlight this post!  
Unread 12-02-2011, 22:04
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Seattle, WA
Posts: 72
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Question Jaguar CAN PID Help, kSpeed and kPosition

For some test code, on a test bot, I'm setting PID values of 30, 0.005, 0.25. When I have the Jaguars in kPosition the values work fine with a +- of 0.01 of the SetPoint.
Now when I set the jaguar control mode to kSpeed the motors spaz-out barely moving, but when I have my P value negative(-30, 0.005, 0.25) it works fine.
Is this normal? I would have thought the same PID values would work for both kSpeed and kPosition, am I wrong?
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga

Last edited by Caboose : 12-02-2011 at 22:06. Reason: Miss-Spelled Title...
Reply With Quote