mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Added median filter implementation. Added 3-point median filter to generic barometer code.
This commit is contained in:
parent
d964e2d3a3
commit
6e041c57dd
3 changed files with 84 additions and 1 deletions
|
@ -77,3 +77,8 @@ int scaleRange(int x, int srcMin, int srcMax, int destMin, int destMax);
|
|||
void normalizeV(struct fp_vector *src, struct fp_vector *dest);
|
||||
|
||||
void rotateV(struct fp_vector *v, fp_angles_t *delta);
|
||||
|
||||
int32_t quickMedianFilter3(int32_t * v);
|
||||
int32_t quickMedianFilter5(int32_t * v);
|
||||
int32_t quickMedianFilter7(int32_t * v);
|
||||
int32_t quickMedianFilter9(int32_t * v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue