Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Jerky Tracking? (http://www.chiefdelphi.com/forums/showthread.php?t=41731)

Matt Krass 12-01-2006 22:52

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.

Kevin Watson 12-01-2006 23:32

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

Matt Krass 12-01-2006 23:37

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.

Kevin Watson 13-01-2006 00:15

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

Goldeye 13-01-2006 00:23

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?

Kevin Watson 13-01-2006 00:50

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


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi