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
33extern "C" {
34#endif
35
36/* Function Declarations */
58extern 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 */
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.
double alpha
Definition main.c:249
double a_m
Definition main.c:250
const double R[]
Definition main.c:253
double z[]
Definition main.c:248
const double Q[]
Definition main.c:252
double x_est[]
Definition main.c:254
double Ts
Definition main.c:251
Defines standard data types for code generated by MATLAB Coder.