Da Vinci Firmware
1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
kalmanFilter.h
Go to the documentation of this file.
1
23
#ifndef KALMANFILTER_VES_DEFINITIVE_H
24
#define KALMANFILTER_VES_DEFINITIVE_H
25
26
/* Include Files */
27
#include "
rtwtypes.h
"
28
#include <stddef.h>
29
#include <stdlib.h>
30
#include <stdbool.h>
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/* Function Declarations */
58
extern
void
kalmanFilter
(
double
x_est
[2],
double
P[4],
59
const
double
z
[2],
double
alpha
,
60
double
a_m
,
double
Ts
,
61
const
double
Q
[4],
const
double
R
[4],
62
bool
gnss_signal);
63
64
#ifdef __cplusplus
65
}
66
#endif
67
68
#endif
69
/*
70
* File trailer for kalmanFilter_VES_definitive.h
71
*
72
* [EOF]
73
*/
kalmanFilter
void kalmanFilter(double x_est[2], double P[4], const double z[2], double alpha, double a_m, double Ts, const double Q[4], const double R[4], bool gnss_signal)
Executes one prediction and correction step of the Kalman filter.
Definition
kalmanFilter.c:49
alpha
double alpha
Definition
main.c:249
a_m
double a_m
Definition
main.c:250
R
const double R[]
Definition
main.c:253
z
double z[]
Definition
main.c:248
Q
const double Q[]
Definition
main.c:252
x_est
double x_est[]
Definition
main.c:254
Ts
double Ts
Definition
main.c:251
rtwtypes.h
Defines standard data types for code generated by MATLAB Coder.
Davinci_2
Core
Inc
kalmanFilter.h
Generated by
1.9.7