|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Camera Lighting Values At Regionals
At Trenton FIRST made an announcement that they had the lighting values for the arena, we got them but never put them in. We went to a number of other teams and asked them if they were using them and they all said no because their camera worked fine with the default values, so did ours. Im wondering is there a reason to put these values in? If there is how do we put them in? Do we change the R_MIN_DEFAULT, R_MAX_DEFAULT values, and by how much?
Thanks nuke |
|
#2
|
||||
|
||||
|
Re: Camera Lighting Values At Regionals
Quote:
You should go into labview and take a picture of the green light in your pit, take those rgb values and staturation and enter them into "camera.h" If you still cant get your values strait we'll be in Palmetto and nationals, come by our pit and ill share our values with you... |
|
#3
|
|||
|
|||
|
Re: Camera Lighting Values At Regionals
heh we'll be in Palmetto as well
. Anyway whats the point of even going into labview when the current values work? If I want to change those values would I just edit these lines in camera.h to something else?Code:
#define R_MIN_DEFAULT 85 // Rmin for call to Track_Color()^M #define R_MAX_DEFAULT 115 // Rmax for call to Track_Color()^M #define G_MIN_DEFAULT 15 // Gmin for call to Track_Color()^M #define G_MAX_DEFAULT 17 // Gmax for call to Track_Color()^M #define B_MIN_DEFAULT 100 // Bmin for call to Track_Color()^M #define B_MAX_DEFAULT 145 // Bmax for call to Track_Color()^M |
|
#4
|
||||
|
||||
|
Re: Camera Lighting Values At Regionals
Quote:
-Kevin |
|
#5
|
||||
|
||||
|
Re: Camera Lighting Values At Regionals
Quote:
|
|
#6
|
|||
|
|||
|
Re: Camera Lighting Values At Regionals
At the PNW Regional the official values only had one value different and it was off by 1.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera shows no love to drive motors | anifinder | Programming | 4 | 13-02-2006 10:31 |
| For anyone who doesn't get the camera code..... | Jake M | Programming | 8 | 16-01-2006 18:56 |
| Scripting Setup and the Camera + Serial Port Drivers | CJO | Programming | 22 | 11-01-2006 17:42 |
| Unresponsive camera | neilsonster | Programming | 9 | 17-02-2005 08:51 |
| CMUcam II and competition lighting environments | dlavery | Programming | 5 | 16-02-2005 02:07 |