ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
Loading...
Searching...
No Matches
accwin.h
Go to the documentation of this file.
1
16#ifndef ACCWIN_H
17#define ACCWIN_H
18
19#include <stdint.h>
20
21typedef struct {
22 float D[9];
23 float sum[3];
24 uint16_t n;
25} accwin_t;
26
27void accwin_reset(accwin_t *w);
28void accwin_add(accwin_t *w, const float acc[3]);
29void accwin_rotate(accwin_t *w, const float E[9]);
30int accwin_mean(const accwin_t *w, float out[3]);
32#endif /* ACCWIN_H */
void accwin_rotate(accwin_t *w, const float E[9])
after every propagation
Definition accwin.c:22
void accwin_add(accwin_t *w, const float acc[3])
sample in the current body
Definition accwin.c:14
int accwin_mean(const accwin_t *w, float out[3])
in the current body, 0 = OK
Definition accwin.c:29
void accwin_reset(accwin_t *w)
Definition accwin.c:8
float sum[3]
Definition calib_mgr.c:35
uint16_t n
Definition accwin.h:24