|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: What does this I/O Message means?
Quote:
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
|
|||
|
|||
|
Re: What does this I/O Message means?
Quote:
|
|
#4
|
|||||
|
|||||
|
Re: What does this I/O Message means?
Quote:
|
|
#5
|
|||
|
|||
|
Re: What does this I/O Message means?
Thanks.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |