Paparazzi UAS  v6.1.0_stable
Paparazzi is a free software Unmanned Aircraft System.
wind_estimation_quadrotor.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Gautier Hattenberger <gautier.hattenberger@enac.fr>
3  *
4  * This file is part of paparazzi
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
26 #ifndef WIND_ESTIMATION_QUADROTOR_H
27 #define WIND_ESTIMATION_QUADROTOR_H
28 
30  float Q_va;
31  float Q_w;
32  float R;
33 };
34 
36 
37 extern void wind_estimation_quadrotor_init(void);
38 extern void wind_estimation_quadrotor_periodic(void);
39 extern void wind_estimation_quadrotor_stop(void);
40 extern void wind_estimation_quadrotor_start(void);
41 extern void wind_estimation_quadrotor_report(void);
42 
43 extern float wind_estimation_quadrotor_SetQva(float Q_va);
44 extern float wind_estimation_quadrotor_SetQw(float Q_w);
45 extern float wind_estimation_quadrotor_SetR(float R);
46 
47 #endif // WIND_ESTIMATION_QUADROTOR_H
wind_estimation_quadrotor_start
void wind_estimation_quadrotor_start(void)
Definition: wind_estimation_quadrotor.c:178
wind_estimation_quadrotor_SetR
float wind_estimation_quadrotor_SetR(float R)
Definition: wind_estimation_quadrotor.c:200
wind_estimation_quadrotor_init
void wind_estimation_quadrotor_init(void)
Definition: wind_estimation_quadrotor.c:98
wind_estimation_quadrotor_report
void wind_estimation_quadrotor_report(void)
Definition: wind_estimation_quadrotor.c:208
wind_estimation_quadrotor_SetQva
float wind_estimation_quadrotor_SetQva(float Q_va)
Definition: wind_estimation_quadrotor.c:184
wind_estimation_quadrotor_params::Q_w
float Q_w
model noise on wind
Definition: wind_estimation_quadrotor.h:31
wind_estimation_quadrotor_params
Definition: wind_estimation_quadrotor.h:29
wind_estimation_quadrotor_stop
void wind_estimation_quadrotor_stop(void)
Definition: wind_estimation_quadrotor.c:169
wind_estimation_quadrotor_params::Q_va
float Q_va
model noise on airspeed
Definition: wind_estimation_quadrotor.h:30
we_quad_params
struct wind_estimation_quadrotor_params we_quad_params
Definition: wind_estimation_quadrotor.c:87
wind_estimation_quadrotor_periodic
void wind_estimation_quadrotor_periodic(void)
Definition: wind_estimation_quadrotor.c:133
wind_estimation_quadrotor_params::R
float R
measurement noise (ground speed)
Definition: wind_estimation_quadrotor.h:32
wind_estimation_quadrotor_SetQw
float wind_estimation_quadrotor_SetQw(float Q_w)
Definition: wind_estimation_quadrotor.c:192