Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 typedef void (*InsInit)(void);
41 
42 extern void ins_register_impl(InsInit init);
43 
47 extern void ins_init(void);
48 
53 extern void ins_reset_local_origin(void);
54 
59 extern void ins_reset_altitude_ref(void);
60 
67 extern void ins_reset_utm_zone(struct UtmCoor_f *utm);
68 
69 #endif /* INS_H */
void ins_reset_utm_zone(struct UtmCoor_f *utm)
INS utm zone reset.
Definition: ins.c:98
position in UTM coordinates Units: meters
void(* InsInit)(void)
Definition: ins.h:40
void ins_reset_local_origin(void)
INS local origin reset.
void ins_register_impl(InsInit init)
Definition: ins.c:53
Paparazzi floating point algebra.
Paparazzi fixed point math for geodetic calculations.
API to get/set the generic vehicle states.
void ins_init(void)
INS initialization.
Definition: ins.c:60
void ins_reset_altitude_ref(void)
INS altitude reference reset.