Go to Post "Yes, I'd like to Super Size my speed controller combo and add a jumbo distribution block, please." "You want fries with that?" - Travis Hoffman [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2006, 22:52
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Jerky Tracking?

Well we've set up the camera, and using LabVIEW it tracks beautifully, it's wonderful, but thats driving its own servo. Kevin's code does a great job of searching and finding the light...then goes haywire.

Once locked the camera starts violently pitching itself back and forth and up and down until one of the PWM cables pops.

We're using the code verbatim, so....I'm not sure...the mounts assembled right.

What else should we check?

Thanks.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #2   Spotlight this post!  
Unread 12-01-2006, 23:32
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Jerky Tracking?

Quote:
Originally Posted by Matt Krass
Well we've set up the camera, and using LabVIEW it tracks beautifully, it's wonderful, but thats driving its own servo. Kevin's code does a great job of searching and finding the light...then goes haywire.

Once locked the camera starts violently pitching itself back and forth and up and down until one of the PWM cables pops.

We're using the code verbatim, so....I'm not sure...the mounts assembled right.

What else should we check?

Thanks.
How do you have the camera mounted? Did you look in the header files for a documented parameter that might explain this wacky behavior?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 12-01-2006, 23:37
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Jerky Tracking?

We're using the kit mount, we tried inverting the camera and that seemed to improve it somewhat but it still jitters way too much to be useful, I've fiddled with the settings but I can't find any noticeable effect. I've managed to slow down the scan speed while searching, is there a parameter I might have missed that controls how fast the servos try to error correct/center when it see's something? It looks like a constant overshoot kind of problem..

EDIT: Looking again after a good break I found some gain parameters to adjust, I'll see if those help.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)

Last edited by Matt Krass : 12-01-2006 at 23:41. Reason: I missed something
  #4   Spotlight this post!  
Unread 13-01-2006, 00:15
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Jerky Tracking?

Quote:
Originally Posted by Matt Krass
We're using the kit mount, we tried inverting the camera and that seemed to improve it somewhat but it still jitters way too much to be useful, I've fiddled with the settings but I can't find any noticeable effect. I've managed to slow down the scan speed while searching, is there a parameter I might have missed that controls how fast the servos try to error correct/center when it see's something? It looks like a constant overshoot kind of problem..

EDIT: Looking again after a good break I found some gain parameters to adjust, I'll see if those help.
You can also tweak the gain values via the tracking parameters menu. Just remember to save it to EEPROM once you're happy with the value(s).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #5   Spotlight this post!  
Unread 13-01-2006, 00:23
Goldeye Goldeye is offline
Registered User
AKA: Josh Hecht
FRC #0694 (Stuypulse)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: New York
Posts: 145
Goldeye has a spectacular aura aboutGoldeye has a spectacular aura aboutGoldeye has a spectacular aura about
Send a message via AIM to Goldeye
Re: Jerky Tracking?

Something I didn't really notice in the docs:
Does the streamlined version check the EEPROM values saved by the bells and whistles version?
__________________
Team 694

2005 Championship - Galileo Semifinalist
2005 New York - Regional Chairmans Award
2005 New York - Semifinalist (Thanks 1257,1340)
  #6   Spotlight this post!  
Unread 13-01-2006, 00:50
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Jerky Tracking?

Quote:
Originally Posted by Goldeye
Something I didn't really notice in the docs:
Does the streamlined version check the EEPROM values saved by the bells and whistles version?
No, it only uses values from the header files.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
Closed Thread


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
'tracking' flag zdeswarte Programming 3 20-02-2005 13:53
trouble with beacon tracking code [53] opticruzer Programming 9 27-01-2004 12:19
IR tracking nzj1 General Forum 3 26-01-2004 22:46
Tracking Canadian teams at nationals! blueWarrior Championship Event 15 15-04-2003 21:03


All times are GMT -5. The time now is 04: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