Go to Post My first instinct was inflatable clowns and 5 of them beating on the robots at all times, but then I thought, thats probably not right. - Dan Richardson [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
  #1   Spotlight this post!  
Unread 15-02-2006, 00:46
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Tuning PID Code

Help us, Kevin, you are our only hope! Or someone else...

Our programming guy (robotaddict -- my son as it turns out) has written single-stick code based heavily on Kevin's PID code routines. It's been a long, difficult road for a student who had little C experience at the beginning of the season, but the code seems to work pretty well. The wild oscillations are gone, and the robot is drivable. But there are some problems. I'm hoping some of you with real-world PID experience can give John -- er, I mean robotaddict -- some guidance of final debugging. We also use these routines for aiming and autonomous, so it is important that he fix them. John and the programming mentors have tweaked the P,I, and D settings a LOT, but the perfect blend of settings has been elusive.

1. The controls are pretty sensitive. Turning is especially twitchy.

2. Can someone describe the PID tuning process in even more detail than Kevin does in the comments in his code. Careful descriptions of what the robot is doing in relation to each of the control settings would be especially appreciated.

3. The robot nearly drives in a straight line, but gently drifts to one side in a long (say 30-40 feet) drive.

Thank you SO MUCH in advance.
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
 


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
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
Problem with idata_user_routines.o? Adrien Programming 3 12-02-2006 01:33
Drive Straight C Code using Encoders without PID? Chris_Elston Programming 17 15-02-2005 23:41
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 19:42.

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