Go to Post Why not go the safer route? Use the robots to play Magic the Gathering. - kamocat [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 23-01-2007, 19:43
cprogrammer's Avatar
cprogrammer cprogrammer is offline
Registered User
FRC #1595 (Gremlins)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Washington
Posts: 42
cprogrammer will become famous soon enoughcprogrammer will become famous soon enough
Image Problems

We are currently testing our camera and where the lens of the camera is pointing is not where the picture is. For example when we are directly between the two lights and the camera sees the two lights the lens of the camera is pointing more to the left of the target than in the center. Can anybody help me with this problem PLEASE
  #2   Spotlight this post!  
Unread 25-01-2007, 01:53
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Image Problems

I have the same problem, but i think it because the servos are set 124, 124 versus 127 could make that little difference. If u are using the steamlined version. you can go to tracking.h and set the PAN_CENTER_PWM_DEFAULT to 127. let me noe if that helps
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #3   Spotlight this post!  
Unread 02-02-2007, 21:32
Dman Dman is offline
Dman
AKA: Derek Manwaring
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Idaho Falls, Idaho
Posts: 3
Dman is an unknown quantity at this point
Re: Image Problems

Yeah, we have exactly the same problem. I don't think it has anything to do with the servos because the camera lens is the thing that is pointed more toward the left while the image appears to be centered. Help would be much appreciated!
__________________
  #4   Spotlight this post!  
Unread 02-02-2007, 21:40
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Image Problems

You need to offset the center of the target in tracking.h

// These two values define the image pixel that we're
// going to try to keep the tracked object on. By default
// the center of the image is used.
#define PAN_TARGET_PIXEL_DEFAULT 79
#define TILT_TARGET_PIXEL_DEFAULT 119

Try changing the pan up and down to find the number that best centers your camera
  #5   Spotlight this post!  
Unread 03-02-2007, 12:06
Dman Dman is offline
Dman
AKA: Derek Manwaring
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Idaho Falls, Idaho
Posts: 3
Dman is an unknown quantity at this point
Re: Image Problems

I had thought of that, but why isn't the image centered with the lens anyway? Maybe we'll just make our own camera without that mistake... he he
__________________
  #6   Spotlight this post!  
Unread 03-02-2007, 23:44
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Image Problems

Quote:
Originally Posted by Dman View Post
I had thought of that, but why isn't the image centered with the lens anyway? Maybe we'll just make our own camera without that mistake... he he
Yeah, I'm not sure if it is a mechanical problem or if it is a firmware problem with the camera.. we found we had to offset it quite a bit to get it to look straight. We noticed this problem all three years..

Anyone know why this occurs?
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
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07
Problems muy dificil Programming 5 26-10-2005 17:10
PC problems. . . opnickc IT / Communications 5 12-01-2005 16:53
Image Discuss: FESTO Problems CD47-Bot Extra Discussion 3 16-02-2003 10:57
Problems- archiver 1999 0 23-06-2002 23:00


All times are GMT -5. The time now is 23:51.

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