Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vf_float.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
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 
29 #ifndef VF_FLOAT_H
30 #define VF_FLOAT_H
31 
32 #define VFF_STATE_SIZE 3
33 
34 extern float vff_z;
35 extern float vff_zdot;
36 extern float vff_bias;
37 extern float vff_P[VFF_STATE_SIZE][VFF_STATE_SIZE];
38 extern float vff_zdotdot;
39 
40 extern float vff_z_meas;
41 
42 extern void vff_init(float z, float zdot, float bias);
43 extern void vff_propagate(float accel);
44 extern void vff_update(float z_meas);
45 extern void vff_update_z_conf(float z_meas, float conf);
46 extern void vff_update_vz_conf(float vz_meas, float conf);
47 extern void vff_realign(float z_meas);
48 
49 #endif /* VF_FLOAT_H */
#define VFF_STATE_SIZE
Definition: vf_float.h:32
void vff_update(float z_meas)
Definition: vf_float.c:176
float vff_zdotdot
float vff_P[VFF_STATE_SIZE][VFF_STATE_SIZE]
float vff_z_meas
void vff_update_vz_conf(float vz_meas, float conf)
Definition: vf_float.c:231
void vff_realign(float z_meas)
float vff_bias
float vff_z
float vff_zdot
void vff_propagate(float accel)
void vff_init(float z, float zdot, float bias)
Definition: vf_float.c:69
void vff_update_z_conf(float z_meas, float conf)
Definition: vf_float.c:180