Go to Post Just wear your safety glasses. They can be stylish, too! - Eugenia Gabrielov [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
  #1   Spotlight this post!  
Unread 12-02-2009, 06:24
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
Problems with using 330's goal tracking code

Hi, We took team 330's goal tracking code and made modifications so that the X axis output would be to control a victor for a turret. We pretty much just removed the Y-axis PID control loop and are using only the X-axis PID control loop for control the position of a turret. When we run the code, the bot finds the target and oscillates left and right. I increased the integral gain to reduce the steady state error, but there was no improvement. I also tried playing around with the proportional and derivative gains, but there was also no improvement.

Has anyone attempted what I'm doing and might know the source of my problem?

I attached two screenshots of my code for reference. As an incentive, feel free to use my ideas for your bot as well if you feel that they are useful to you. All the credit should go to team 330 though!
Attached Files
File Type: pdf goal_track_main.pdf (215.1 KB, 83 views)
File Type: pdf goal_track.pdf (169.9 KB, 68 views)

Last edited by windell747 : 12-02-2009 at 06:27.
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
Problems with tracking Shinsa Programming 2 07-02-2010 14:35
Using kevin's code for driving and camera tracking razzoc Programming 3 18-02-2007 08:50
Enabling Multiple Light Tracking Using Kevin's Code Mitch Programming 7 05-02-2007 06:17
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Problems tracking with CMUCam2 in LabVIEW PhilBot LabView and Data Acquisition 5 17-01-2006 20:42


All times are GMT -5. The time now is 10:36.

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