|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
frc_camera not working but labview does
We can lock on and track the target with labview, but when we try to use kevin's code (frc_camera.zip)with the same configuration values it doesn't work properly. It continually searches for the target, and always returns a confidence value of 0. Here are the configuration values that we used.
#define AGC_DEFAULT 19 // Automatic Gain Control Register [0/0x00] #define BLU_DEFAULT 128 // Blue Gain Control Register [128/0x80] #define RED_DEFAULT 128 // Red Gain Control Register [128/0x80] #define SAT_DEFAULT 128 // Saturation Control Register [128/0x80] #define BRT_DEFAULT 2 // Brightness Control Register [128/0x80] #define AEC_DEFAULT 3 // Automatic Exposure Control Register [127/0x7F] #define COMA_DEFAULT 32 // Common Control A Register [36/0x24] #define COMB_DEFAULT 32 // Common Control B Register [1/0x01] #define COMI_DEFAULT 128 // Common Control I Register [0/0x00] #define EHSH_DEFAULT 128 // Frame Rate Adjust Register 1 [0/0x00] #define EHSL_DEFAULT 32 // Frame Rate Adjust Register 2 [0/0x00] #define COMJ_DEFAULT 132 Any help would be appreciated. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Labview problems and code problems | ajsetter | Programming | 25 | 18-01-2006 17:07 |
| National Instruments LabVIEW and Data Acquisition Forum | Danny Diaz | National Instruments LabVIEW and Data Acquisition | 1 | 16-01-2006 13:20 |
| COM port settings for CMUcam labview testing and programming | pwilczynski | Programming | 1 | 15-01-2006 15:09 |
| National Instruments LabVIEW & Data Aquisition Forums | Brandon Martus | Announcements | 0 | 22-11-2005 21:12 |
| I'm working :) | Jack | FIRST Scouting Network | 2 | 03-01-2004 01:26 |