Go to Post From a coaching standpoint, I can tell you...the coach is NOTHING without valuable scout information. If the coach is nothing, the robot is NOTHING. It all starts from the scouts...get your kids to see this. - Brandon Holley [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
  #7   Spotlight this post!  
Unread 18-02-2006, 20:26
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: How Can I aim at the Vision Target Faster but without overshooting?

Quote:
Originally Posted by Mike
My two cents about PID loops.

Today I tried implementing a PI loop. I've never done one before and was relying on non-proven code. I spent about three hours and called it quits. My new code that works great:

Code:
PAN_MOTOR	=	NEUTRAL + (pan_error / 5) + 11;
Adjust 5 and 11 to your needs.

Quote from my mentor: "Keep things as complex as necessary, and not a bit more."
an excellent example! Pan error is the error signal (distance) from where you want to be. Pan error / 5 means your feedback gain is 0.2

Im not sure why you need the +11. That seems to be a zero point error, or maybe there is a zero point error in your feedback signal?
 


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
Durability of Vision Target geeknerd99 General Forum 13 11-02-2006 14:15
Vision Target Assembly platt Kit & Additional Hardware 4 26-01-2006 17:34
Vision Target power supply AUWarEagle#1 Electrical 3 18-01-2006 22:17
Question concerning vision target Otrobotics General Forum 17 15-01-2006 15:59


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

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