summaryrefslogtreecommitdiff
path: root/n/es-2006/src
diff options
context:
space:
mode:
authorgaillaro2006-05-17 16:46:46 +0000
committergaillaro2006-05-17 16:46:46 +0000
commit1b6e49045708b69ecb19bc80083c8197187b8b1e (patch)
treed0c9f503cde9e1d17e74b7bb001f2c240f3f7cd1 /n/es-2006/src
parent78be69dba5d5b6f00beabacd599169fc1d91b24d (diff)
encore à la diet
Diffstat (limited to 'n/es-2006/src')
-rw-r--r--n/es-2006/src/sniff_rvb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/n/es-2006/src/sniff_rvb.c b/n/es-2006/src/sniff_rvb.c
index 1b0bc96..e62ac17 100644
--- a/n/es-2006/src/sniff_rvb.c
+++ b/n/es-2006/src/sniff_rvb.c
@@ -34,19 +34,11 @@
/** Reference color. */
uint16_t sniff_rvb_reference_color[RVB_MAX_SENSOR][RVB_SNIFF_MAX_INDEX];
-/** Threshold table data. */
-uint16_t sniff_rvb_threshold[2][RVB_MAX_SENSOR][RVB_SNIFF_MAX_INDEX];
-/** Used to build threshold */
-// XXX only bool needed, use bit operation if we need to use less space
-uint8_t sniff_rvb_sign[2][RVB_MAX_SENSOR][RVB_SNIFF_MAX_INDEX];
/** Ratio min max */
uint16_t sniff_rvb_reference_color_min[RVB_MAX_SENSOR][RVB_SNIFF_MAX_INDEX];
uint16_t sniff_rvb_reference_color_max[RVB_MAX_SENSOR][RVB_SNIFF_MAX_INDEX];
/** Ratio for the computing the min/max value from the reference color. */
uint8_t sniff_rvb_ref_ratio = 4;
-/* if no difference between 2 colors we can have problems, this constant is
- * the minimum value for one component to get used */
-int16_t sniff_rvb_min_diff = 1000;
/* test with new robot clothes */
/* ball black/white detection */