Go to Post There are a maximum of 80 balls in play . If all the balls are in the goals or out of play and the human players won't throw them back in, I guess the robots might try line dancing or doing the cha-cha. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-03-2012, 19:54
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
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?
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote
  #2   Spotlight this post!  
Unread 06-03-2012, 21:10
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID in continuious

Quote:
Originally Posted by techkid86 View Post
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?


Reply With Quote
  #3   Spotlight this post!  
Unread 06-03-2012, 22:53
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
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.
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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