Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
ins.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2012 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 
27 #ifndef INS_H
28 #define INS_H
29 
30 #include "std.h"
31 #include "math/pprz_geodetic_int.h"
33 #include "state.h"
34 
35 /* underlying includes (needed for parameters) */
36 #ifdef INS_TYPE_H
37 #include INS_TYPE_H
38 #endif
39 
40 
45 extern void ins_reset_local_origin(void);
46 
51 extern void ins_reset_altitude_ref(void);
52 
57 extern void ins_reset_vertical_pos(void);
58 
65 extern void ins_reset_utm_zone(struct UtmCoor_f *utm);
66 
69 
70 
71 #endif /* INS_H */
ins_reset_utm_zone
void ins_reset_utm_zone(struct UtmCoor_f *utm)
INS utm zone reset.
Definition: ins.c:70
ins_reset_local_origin
void ins_reset_local_origin(void)
INS local origin reset.
Definition: ins.c:55
ins_reset_altitude_ref
void ins_reset_altitude_ref(void)
INS altitude reference reset.
Definition: ins.c:65
LtpDef_i
definition of the local (flat earth) coordinate system
Definition: pprz_geodetic_int.h:98
pprz_geodetic_int.h
Paparazzi fixed point math for geodetic calculations.
pprz_algebra_float.h
Paparazzi floating point algebra.
std.h
ins_init_origin_i_from_flightplan
void ins_init_origin_i_from_flightplan(struct LtpDef_i *ltp_def)
initialize the local origin (ltp_def in fixed point) from flight plan position
Definition: ins.c:39
UtmCoor_f
position in UTM coordinates Units: meters
Definition: pprz_geodetic_float.h:81
state.h
ins_reset_vertical_pos
void ins_reset_vertical_pos(void)
INS vertical position reset.
Definition: ins.c:67