Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
guidance_v_adapt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009-2013 The Paparazzi Team
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, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
30 #ifndef GUIDANCE_V_ADAPT_H
31 #define GUIDANCE_V_ADAPT_H
32 
33 #include "std.h"
34 
39 extern int32_t gv_adapt_X;
40 #define GV_ADAPT_X_FRAC 24
41 
46 extern int32_t gv_adapt_P;
47 #define GV_ADAPT_P_FRAC 18
48 
50 extern int32_t gv_adapt_Xmeas;
51 
52 
53 extern void gv_adapt_init(void);
54 extern void gv_adapt_run(int32_t zdd_meas, int32_t thrust_applied, int32_t zd_ref);
55 
56 
57 #endif /* GUIDANCE_V_ADAPT_H */
gv_adapt_run
void gv_adapt_run(int32_t zdd_meas, int32_t thrust_applied, int32_t zd_ref)
Adaptation function.
Definition: guidance_v_adapt.c:133
std.h
gv_adapt_X
int32_t gv_adapt_X
State of the estimator.
Definition: guidance_v_adapt.c:99
int32_t
signed long int32_t
Definition: types.h:19
gv_adapt_P
int32_t gv_adapt_P
Covariance.
Definition: guidance_v_adapt.c:100
gv_adapt_init
void gv_adapt_init(void)
Definition: guidance_v_adapt.c:120
gv_adapt_Xmeas
int32_t gv_adapt_Xmeas
Measurement.
Definition: guidance_v_adapt.c:101