diff --git a/conf/airframes/examples/bebop.xml b/conf/airframes/examples/bebop.xml
index 8cc00a0023..8d2286ac6b 100644
--- a/conf/airframes/examples/bebop.xml
+++ b/conf/airframes/examples/bebop.xml
@@ -52,7 +52,7 @@
-
+
diff --git a/conf/modules/bebop_ae_awb.xml b/conf/modules/bebop_ae_awb.xml
new file mode 100644
index 0000000000..b49ea5e66c
--- /dev/null
+++ b/conf/modules/bebop_ae_awb.xml
@@ -0,0 +1,22 @@
+
+
+
+
+ Auto exposure and Auto white balancing for the Bebop 1 and 2
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/conf/modules/cv_ae_awb.xml b/conf/modules/cv_ae_awb.xml
deleted file mode 100644
index 5f48a4f529..0000000000
--- a/conf/modules/cv_ae_awb.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Auto exposure and Auto white balancing for the Bebop 1 and 2
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sw/airborne/modules/computer_vision/cv_ae_awb.c b/sw/airborne/modules/computer_vision/bebop_ae_awb.c
similarity index 89%
rename from sw/airborne/modules/computer_vision/cv_ae_awb.c
rename to sw/airborne/modules/computer_vision/bebop_ae_awb.c
index 8ee5e11081..9756e75b37 100644
--- a/sw/airborne/modules/computer_vision/cv_ae_awb.c
+++ b/sw/airborne/modules/computer_vision/bebop_ae_awb.c
@@ -18,12 +18,12 @@
* .
*/
/**
- * @file "modules/computer_vision/cv_ae_awb.c"
- * @author Freek van Tienen
+ * @file "modules/computer_vision/bebop_ae_awb.c"
+ * @author Freek van Tienen, Kirk Scheper
* Auto exposure and Auto white balancing for the Bebop 1 and 2
*/
-#include "modules/computer_vision/cv_ae_awb.h"
+#include "bebop_ae_awb.h"
#include "boards/bebop.h"
#include "boards/bebop/mt9f002.h"
#include "lib/isp/libisp.h"
@@ -32,25 +32,25 @@
#define sgn(x) (float)((x < 0) ? -1 : (x > 0))
-#ifndef CV_AUTO_EXPOSURE
-#define CV_AUTO_EXPOSURE true
+#ifndef BEBOP_AUTO_EXPOSURE
+#define BEBOP_AUTO_EXPOSURE true
#endif
-#ifndef CV_AUTO_WHITE_BALANCE
-#define CV_AUTO_WHITE_BALANCE true
+#ifndef BEBOP_AUTO_WHITE_BALANCE
+#define BEBOP_AUTO_WHITE_BALANCE true
#endif
-#define CV_AWB_MIN_GAIN 2
-#define CV_AWB_MAX_GAIN 75
+#define BEBOP_AWB_MIN_GAIN 2
+#define BEBOP_AWB_MAX_GAIN 75
-void cv_ae_awb_init(void) {}
+void bebop_ae_awb_init(void) {}
-void cv_ae_awb_periodic(void)
+void bebop_ae_awb_periodic(void)
{
struct isp_yuv_stats_t yuv_stats;
if (isp_get_statistics_yuv(&yuv_stats) == 0) {
-#if CV_AUTO_EXPOSURE
+#if BEBOP_AUTO_EXPOSURE
// Calculate the CDF based on the histogram
uint32_t cdf[MAX_HIST_Y];
cdf[0] = yuv_stats.ae_histogram_Y[0];
@@ -98,7 +98,7 @@ void cv_ae_awb_periodic(void)
mt9f002_set_exposure(&mt9f002);
#endif
-#if CV_AUTO_WHITE_BALANCE
+#if BEBOP_AUTO_WHITE_BALANCE
// It is very important that the auto exposure converges faster than the color correction
// Calculate AWB and project from original scale [0,255] onto more typical scale[-0.5,0.5]
float avgU = ((float) yuv_stats.awb_sum_U / (float) yuv_stats.awb_nb_grey_pixels) / 256. - 0.5;
diff --git a/sw/airborne/modules/computer_vision/cv_ae_awb.h b/sw/airborne/modules/computer_vision/bebop_ae_awb.h
similarity index 78%
rename from sw/airborne/modules/computer_vision/cv_ae_awb.h
rename to sw/airborne/modules/computer_vision/bebop_ae_awb.h
index d4ac843d70..7502fc4133 100644
--- a/sw/airborne/modules/computer_vision/cv_ae_awb.h
+++ b/sw/airborne/modules/computer_vision/bebop_ae_awb.h
@@ -18,16 +18,16 @@
* .
*/
/**
- * @file "modules/computer_vision/cv_ae_awb.h"
- * @author Freek van Tienen
+ * @file "modules/computer_vision/bebop_ae_awb.h"
+ * @author Freek van Tienen, Kirk Scheper
* Auto exposure and Auto white balancing for the Bebop 1 and 2
*/
-#ifndef CV_AE_AWB_H
-#define CV_AE_AWB_H
+#ifndef BEBOP_AE_AWB_H
+#define BEBOP_AE_AWB_H
-extern void cv_ae_awb_init(void);
-extern void cv_ae_awb_periodic(void);
+extern void bebop_ae_awb_init(void);
+extern void bebop_ae_awb_periodic(void);
#endif