Go to Post If that due diligence shows that a real need for action exists, *then* grab the pitchforks, and light the torches. - gblake [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 19-02-2007, 10:30
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline
Registered User
FRC #2028
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Hampton, VA
Posts: 35
LieAfterLie is an unknown quantity at this point
Re: paper: PID Control Theory for FRC Programming

Very helpful. You might want to move the P code example showing the #define KP 5 / 10 to between the P and I sections though, as it doesn't show I control.

I finally learned what this PID stuff is about, thanks.

You might want to also mention that since motor velocity control is a speed you're comparing encoder ticks per time rather than a target value that has a defined range, and therefore also give us a simple method for determining the range, such as maybe start at this many ticks per time period as the min/max, then scale it down when the motor is full and gives less than that number, then printf that max to initialize it to for future code so that it starts out at the right range. I know this really goes beyond the basic PID concept, but it is relevant to speed control.
__________________
SEMPER UBI SUB UBI

Last edited by LieAfterLie : 19-02-2007 at 11:44.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
White Paper Discuss: An Introduction to C Programming for First Robotics Applications CD47-Bot Extra Discussion 10 26-11-2004 21:54
White Paper Discuss: Official 2004 Introduction to Programming Guide CD47-Bot Extra Discussion 4 26-01-2004 20:59
control system programming archiver 2000 17 23-06-2002 22:14
Where can i Find info on the control programming Matchew General Forum 1 14-01-2002 19:09


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

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