Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   PID in continuious (http://www.chiefdelphi.com/forums/showthread.php?t=104311)

techkid86 06-03-2012 19:54

PID in continuious
 
Hello. i am having some issues with PID control on our shooter. we are running the PID controller through the code. not in the jag. we are using black jags, no CAN, and we have our PID values correct. the problem we are having is that it will not run in the continuious loop. the PID controller does not output. is this just as simple as puttting
"shooterPID.setContinuious(true);"? or can i only run it in periodic. the PID is reset and re-enabled in tele-op initialize. it is getting set to a value, but is not outputing anything. idea? more info needed?

Ether 06-03-2012 21:10

Re: PID in continuious
 
Quote:

Originally Posted by techkid86 (Post 1140375)
we have our PID values correct

This is likely not the problem, but how do you know your PID gains are correct if you haven't got it working yet?



techkid86 06-03-2012 22:53

Re: PID in continuious
 
we had it working in teleop periodic, but in our final code we are switching to continuous, and it stopped working. i think i could put just the PID in periodic, but i was hoping to keep it in continuous.


All times are GMT -5. The time now is 09:47.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi