Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
gps_intermcu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 Gautier Hattenberger <gautier.hattenberger@enac.fr>
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, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
26 #ifndef GPS_INTERMCU_H
27 #define GPS_INTERMCU_H
28 
29 #include "std.h"
30 #include "generated/airframe.h"
31 #include "modules/gps/gps.h"
32 
33 #ifndef PRIMARY_GPS
34 #define PRIMARY_GPS GPS_INTERMCU
35 #endif
36 
37 extern struct GpsState gps_imcu;
38 
39 extern void gps_intermcu_init(void);
40 
41 #define gps_intermcu_periodic_check() gps_periodic_check(&gps_imcu)
42 
44 
45 #endif /* GPS_INTERMCU_H */
Device independent GPS code (interface)
data structure for GPS information
Definition: gps.h:85
struct GpsState gps_imcu
Definition: gps_intermcu.c:30
void gps_intermcu_init(void)
GPS initialization.
Definition: gps_intermcu.c:33
void gps_intermcu_parse_IMCU_REMOTE_GPS(uint8_t *buf)
Definition: gps_intermcu.c:43
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98