Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
chemo_detect.c File Reference
#include "chemo_detect.h"
#include "enose.h"
+ Include dependency graph for chemo_detect.c:

Go to the source code of this file.

Macros

#define DETECT_PERIOD   8 /* *4Hz */
 
#define THRESHOLD   150
 

Functions

void chemo_init (void)
 
void chemo_periodic (void)
 

Variables

uint16_t chemo_sensor
 

Macro Definition Documentation

#define DETECT_PERIOD   8 /* *4Hz */

Definition at line 4 of file chemo_detect.c.

Referenced by chemo_periodic().

#define THRESHOLD   150

Definition at line 5 of file chemo_detect.c.

Referenced by chemo_periodic().

Function Documentation

void chemo_init ( void  )

Definition at line 9 of file chemo_detect.c.

References chemo_sensor.

void chemo_periodic ( void  )

Definition at line 14 of file chemo_detect.c.

References chemo_sensor, DETECT_PERIOD, ENOSE_NB_SENSOR, enose_val, and THRESHOLD.

Variable Documentation

uint16_t chemo_sensor

Definition at line 7 of file chemo_detect.c.

Referenced by chemo_init(), chemo_periodic(), nav_anemotaxis(), and nav_chemotaxis().