Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Data Structures | |
struct | MedianFilterInt |
struct | MedianFilter3Int |
struct | MedianFilterFloat |
struct | MedianFilter3Float |
Macros | |
#define | MAX_MEDIAN_DATASIZE 13 |
#define | MEDIAN_DEFAULT_SIZE 5 |
#define | InitMedianFilterVect3Int(_f, _n) |
#define | InitMedianFilterEulerInt(_f, _n) InitMedianFilterVect3Int(_f, _n) |
#define | InitMedianFilterRatesInt(_f, _n) InitMedianFilterVect3Int(_f, _n) |
#define | UpdateMedianFilterVect3Int(_f, _v) |
#define | UpdateMedianFilterEulerInt(_f, _v) |
#define | UpdateMedianFilterRatesInt(_f, _v) |
#define | GetMedianFilterVect3Int(_f, _v) |
#define | GetMedianFilterEulerInt(_f, _v) |
#define | GetMedianFilterRatesInt(_f, _v) |
#define | InitMedianFilterVect3Float(_f, _n) |
#define | InitMedianFilterEulerFloat(_f, _n) InitMedianFilterVect3Float(_f, _n) |
#define | InitMedianFilterRatesFloat(_f, _n) InitMedianFilterVect3Float(_f, _n) |
#define | UpdateMedianFilterVect3Float(_f, _v) |
#define | UpdateMedianFilterEulerFloat(_f, _v) |
#define | UpdateMedianFilterRatesFloat(_f, _v) |
#define | GetMedianFilterVect3Float(_f, _v) |
#define | GetMedianFilterEulerFloat(_f, _v) |
#define | GetMedianFilterRatesFloat(_f, _v) |
Functions | |
static void | init_median_filter_i (struct MedianFilterInt *filter, uint8_t size) |
static int32_t | get_median_filter_i (struct MedianFilterInt *filter) |
static int32_t | update_median_filter_i (struct MedianFilterInt *filter, int32_t new_data) |
static void | init_median_filter_f (struct MedianFilterFloat *filter, uint8_t size) |
static float | get_median_filter_f (struct MedianFilterFloat *filter) |
static float | update_median_filter_f (struct MedianFilterFloat *filter, float new_data) |
struct MedianFilterInt |
Definition at line 33 of file median_filter.h.
Data Fields | ||
---|---|---|
int32_t | data[MAX_MEDIAN_DATASIZE] | |
uint8_t | dataIndex | |
uint8_t | size | |
int32_t | sortData[MAX_MEDIAN_DATASIZE] |
struct MedianFilter3Int |
Definition at line 93 of file median_filter.h.
Data Fields | ||
---|---|---|
struct MedianFilterInt | mf[3] |
struct MedianFilterFloat |
Definition at line 142 of file median_filter.h.
Data Fields | ||
---|---|---|
float | data[MAX_MEDIAN_DATASIZE] | |
uint8_t | dataIndex | |
uint8_t | size | |
float | sortData[MAX_MEDIAN_DATASIZE] |
struct MedianFilter3Float |
Definition at line 201 of file median_filter.h.
Data Fields | ||
---|---|---|
struct MedianFilterFloat | mf[3] |
#define GetMedianFilterEulerFloat | ( | _f, | |
_v | |||
) |
Definition at line 238 of file median_filter.h.
#define GetMedianFilterEulerInt | ( | _f, | |
_v | |||
) |
Definition at line 130 of file median_filter.h.
#define GetMedianFilterRatesFloat | ( | _f, | |
_v | |||
) |
Definition at line 244 of file median_filter.h.
#define GetMedianFilterRatesInt | ( | _f, | |
_v | |||
) |
Definition at line 136 of file median_filter.h.
#define GetMedianFilterVect3Float | ( | _f, | |
_v | |||
) |
Definition at line 232 of file median_filter.h.
#define GetMedianFilterVect3Int | ( | _f, | |
_v | |||
) |
Definition at line 124 of file median_filter.h.
#define InitMedianFilterEulerFloat | ( | _f, | |
_n | |||
) | InitMedianFilterVect3Float(_f, _n) |
Definition at line 211 of file median_filter.h.
#define InitMedianFilterEulerInt | ( | _f, | |
_n | |||
) | InitMedianFilterVect3Int(_f, _n) |
Definition at line 103 of file median_filter.h.
#define InitMedianFilterRatesFloat | ( | _f, | |
_n | |||
) | InitMedianFilterVect3Float(_f, _n) |
Definition at line 212 of file median_filter.h.
#define InitMedianFilterRatesInt | ( | _f, | |
_n | |||
) | InitMedianFilterVect3Int(_f, _n) |
Definition at line 104 of file median_filter.h.
#define InitMedianFilterVect3Float | ( | _f, | |
_n | |||
) |
Definition at line 205 of file median_filter.h.
#define InitMedianFilterVect3Int | ( | _f, | |
_n | |||
) |
Definition at line 97 of file median_filter.h.
#define MAX_MEDIAN_DATASIZE 13 |
Definition at line 27 of file median_filter.h.
#define MEDIAN_DEFAULT_SIZE 5 |
Definition at line 28 of file median_filter.h.
#define UpdateMedianFilterEulerFloat | ( | _f, | |
_v | |||
) |
Definition at line 220 of file median_filter.h.
#define UpdateMedianFilterEulerInt | ( | _f, | |
_v | |||
) |
Definition at line 112 of file median_filter.h.
#define UpdateMedianFilterRatesFloat | ( | _f, | |
_v | |||
) |
Definition at line 226 of file median_filter.h.
#define UpdateMedianFilterRatesInt | ( | _f, | |
_v | |||
) |
Definition at line 118 of file median_filter.h.
#define UpdateMedianFilterVect3Float | ( | _f, | |
_v | |||
) |
Definition at line 214 of file median_filter.h.
#define UpdateMedianFilterVect3Int | ( | _f, | |
_v | |||
) |
Definition at line 106 of file median_filter.h.
|
inlinestatic |
Definition at line 165 of file median_filter.h.
References MedianFilterFloat::size, and MedianFilterFloat::sortData.
Referenced by update_median_filter_f().
|
inlinestatic |
Definition at line 58 of file median_filter.h.
References MedianFilterInt::size, and MedianFilterInt::sortData.
Referenced by update_median_filter_i().
|
inlinestatic |
Definition at line 148 of file median_filter.h.
References MedianFilterFloat::data, MedianFilterFloat::dataIndex, MAX_MEDIAN_DATASIZE, MedianFilterFloat::size, and MedianFilterFloat::sortData.
Referenced by dw1000_arduino_init(), sonar_bebop_init(), and sonar_pwm_init().
|
inlinestatic |
Definition at line 39 of file median_filter.h.
References MedianFilterInt::data, MedianFilterInt::dataIndex, MAX_MEDIAN_DATASIZE, MedianFilterInt::size, and MedianFilterInt::sortData.
Referenced by baro_init(), lidar_lite_init(), lidar_sf11_init(), and px4flow_i2c_init().
|
inlinestatic |
Definition at line 175 of file median_filter.h.
References MedianFilterFloat::data, MedianFilterFloat::dataIndex, get_median_filter_f(), MedianFilterFloat::size, and MedianFilterFloat::sortData.
Referenced by fill_anchor(), sonar_bebop_read(), and sonar_pwm_read().
|
inlinestatic |
Definition at line 68 of file median_filter.h.
References MedianFilterInt::data, MedianFilterInt::dataIndex, get_median_filter_i(), MedianFilterInt::size, and MedianFilterInt::sortData.
Referenced by ardrone_baro_event(), lidar_lite_periodic(), lidar_sf11_periodic(), and px4flow_i2c_frame_cb().