Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
bebop_ae_awb.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Freek van Tienen
3  *
4  * This file is part of paparazzi
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
26 #ifndef BEBOP_AE_AWB_H
27 #define BEBOP_AE_AWB_H
28 
29 #include "std.h"
30 
31 struct ae_setting_t {
32  bool active;
36  float dark_ignore;
40 };
41 extern struct ae_setting_t ae_set;
42 
43 struct awb_setting_t {
44  bool active;
46  float gain;
51 };
52 extern struct awb_setting_t awb_set;
53 
54 extern void bebop_ae_awb_init(void);
55 
56 #endif
57 
bool gain_scheduling
Definition: bebop_ae_awb.h:47
float gain_scheduling_tolerance
Definition: bebop_ae_awb.h:49
void bebop_ae_awb_init(void)
Definition: bebop_ae_awb.c:336
uint8_t dark_bins
Definition: bebop_ae_awb.h:38
struct ae_setting_t ae_set
Definition: bebop_ae_awb.c:146
uint8_t middle_index
Definition: bebop_ae_awb.h:37
bool prev_active
Definition: bebop_ae_awb.h:33
float gain_scheduling_target
Definition: bebop_ae_awb.h:48
float exposure_gain
Definition: bebop_ae_awb.h:34
struct awb_setting_t awb_set
Definition: bebop_ae_awb.c:147
float dark_ignore
Definition: bebop_ae_awb.h:36
float bright_ignore
Definition: bebop_ae_awb.h:35
float gain_scheduling_step
Definition: bebop_ae_awb.h:50
uint8_t bright_bins
Definition: bebop_ae_awb.h:39
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98