Go to Post While a great deal in engineering is random, unknown, and often unsolvable, nothing in engineering is black magic. - TedP [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #2   Spotlight this post!  
Unread 21-01-2009, 10:28
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Trouble With Autonomous Camera Tracking

You need to use a PID loop. What you are seeing is the classic under-damped system that starts to oscillate when it tries to hold a setpoint.

In other words, you're turning TOO FAST toward the target, and the robot slides by it. Then it tries to turn back, and it turns TOO FAST. So it slides by it again.

You need to program a PID loop and use a low enough proportional gain so you don't blow right by. Then use a small integral gain that will just "get you there".

There is a PID white paper in chiefdelphi media that is excellent, and Labview provides a ready-made PID loop VI for you to use.
Reply With Quote
 


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
Trouble with Autonomous popnbrown Programming 15 27-02-2007 20:48
How should we call camera tracking functions during autonomous mode? SHerpich Programming 1 15-02-2006 18:33
Moving robot while tracking with camera questions... Steve Orr Programming 6 02-02-2006 22:24
Having trouble with your camera mount? Chriszuma Programming 7 01-02-2005 22:12
trouble with beacon tracking code [53] opticruzer Programming 9 27-01-2004 12:19


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

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