Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vf_float.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
5  *
6  * This file is part of paparazzi.
7  *
8  * paparazzi is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2, or (at your option)
11  * any later version.
12  *
13  * paparazzi is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with paparazzi; see the file COPYING. If not, write to
20  * the Free Software Foundation, 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
24 #ifndef VF_FLOAT_H
25 #define VF_FLOAT_H
26 
27 #define VFF_STATE_SIZE 3
28 
29 extern float vff_z;
30 extern float vff_zdot;
31 extern float vff_bias;
32 extern float vff_P[VFF_STATE_SIZE][VFF_STATE_SIZE];
33 extern float vff_zdotdot;
34 
35 extern float vff_z_meas;
36 
37 extern void vff_init(float z, float zdot, float bias);
38 extern void vff_propagate(float accel);
39 extern void vff_update(float z_meas);
40 extern void vff_update_z_conf(float z_meas, float conf);
41 extern void vff_update_vz_conf(float vz_meas, float conf);
42 extern void vff_realign(float z_meas);
43 
44 #endif /* VF_FLOAT_H */
#define VFF_STATE_SIZE
Definition: vf_float.h:27
void vff_update(float z_meas)
Definition: vf_float.c:160
float vff_zdotdot
Definition: vf_float.c:47
float vff_P[VFF_STATE_SIZE][VFF_STATE_SIZE]
Definition: vf_float.c:49
float vff_z_meas
Definition: vf_float.c:51
void vff_update_vz_conf(float vz_meas, float conf)
Definition: vf_float.c:215
int32_t int32_t accel
void vff_realign(float z_meas)
Definition: vf_float.c:219
float vff_bias
Definition: vf_float.c:45
float vff_z
Definition: vf_float.c:44
float vff_zdot
Definition: vf_float.c:46
void vff_propagate(float accel)
Definition: vf_float.c:84
void vff_init(float z, float zdot, float bias)
Definition: vf_float.c:53
void vff_update_z_conf(float z_meas, float conf)
Definition: vf_float.c:164