Go to Post Aha I just noticed you're from my team. --Petey - Petey [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 01-02-2006, 15:55
magical hands magical hands is offline
Jigar Patel
AKA: Jigar Patel
FRC #2185 (Etobicoke CI)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: TORONTO
Posts: 93
magical hands is on a distinguished road
Question What does this I/O Message means?

Searching...
Searching...

all of a sudden I lost patience ang got mad. So i thought that the default colour values are not working therefore i chose to calibrate it and use my own colour values.
Red: min 56, max 106
Green: min 215, max 255
Blue: min 201, max 251

Than i brought the lights close in front of cam and i see the below message:
---------------------------
Pan angle (Degrees) = -20
Titl angle (Degrees) = 5
Pan error (Pixels) = 43
Tilt error (Pixels) = 82
Blob Size = 1
Confidence = 14
---------------------------
What does this message means and what should my next step be?
  #2   Spotlight this post!  
Unread 01-02-2006, 16:37
steveg's Avatar
steveg steveg is offline
Livin' the Dream
AKA: Stephen Guerrera
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Boston, MA
Posts: 70
steveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to behold
Send a message via AIM to steveg
Re: What does this I/O Message means?

Quote:
Originally Posted by magical hands
What does this message means and what should my next step be?
Searching...
The camera is looking for the green target but hasn't found it yet


The Block of text reports the following information:

1. Pan Angle (degrees):
• The position of the Pan Servo relative to center (127) represented in
degrees.
2. Tilt Angle (degrees):
• The position of the Tilt Servo relative to center (127) represented in
degrees.
3. Pan Error (Pixels):
• How far off (in Pixels) from the vertical center of the color blob the sensor
is aimed.
4. Tilt Error (Pixels):
• How far off (in Pixels) from the horizontal center of the color blob the
sensor is aimed.
5. Blob Size (Pixels):
• The size of the color blob (in Pixels) reported from the Sensor.
6. Confidence:
• The (# of pixels being tracked / area of the bounded rectangle)*256 and
capped at 255.


...Find all this and more at http://kevin.org/frc/CMUcam2_workbook.pdf


The first thing that would concern me is how high your error numbers are and how small your blob size is. If you haven't modified the code, it should move to where the target is once it aquires it and the error size should go down to something within the defined acceptable error. I don't remember what the default values are off the top of my head, something on the order of 5 pixels or so. If it doesn't home in on the center of the target, check the code in tracking.c.

How far away from the target are you?

Also, I don't think that you should need to change the color values from the default ones that Kevin gave you. They seem to work all right in most cases and most light. We've tried it in varying conditions, from all the lights off, to sunlight, and there was very little variation in tracking conditions (bright natural light seemed the worst).

Last edited by steveg : 01-02-2006 at 16:43.
  #3   Spotlight this post!  
Unread 10-02-2006, 21:33
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: What does this I/O Message means?

Quote:
Originally Posted by steveg
6. Confidence:
• The (# of pixels being tracked / area of the bounded rectangle)*256 and
capped at 255.
I searched that document and the forums. Which "bounded rectangle"? The target blob? The camera sensor?
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
  #4   Spotlight this post!  
Unread 10-02-2006, 21:37
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: What does this I/O Message means?

Quote:
Originally Posted by Keith Watson
I searched that document and the forums. Which "bounded rectangle"? The target blob? The camera sensor?
This is the smallest rectangle that will fit around the color blob. By dividing the area by the # od pixels contained, you can find the pixel density, or "confidence" of the track.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #5   Spotlight this post!  
Unread 10-02-2006, 22:36
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: What does this I/O Message means?

Thanks.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
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
Addressing I/O in Sections astro1652 Programming 7 18-09-2005 19:28
Dynamic Input/Output Changing Paolo Control System 6 23-09-2004 19:09
message too short error Melissa Nute CD Forum Support 7 03-06-2004 00:02
what is said, and what it really means. Da Moose! Chit-Chat 4 13-01-2003 01:05


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

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