Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ins_xsens.h
Go to the documentation of this file.
1 /*
2  * Paparazzi $Id: $
3  *
4  * Copyright (C) 2010 ENAC
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 
29 #ifndef INS_XSENS_H
30 #define INS_XSENS_H
31 
32 #include "std.h"
33 
34 #include "ins_module.h"
35 
36 #include "subsystems/ahrs.h"
37 
38 
39 extern int8_t xsens_hour;
40 extern int8_t xsens_min;
41 extern int8_t xsens_sec;
42 extern int32_t xsens_nanosec;
43 extern int16_t xsens_year;
44 extern int8_t xsens_month;
45 extern int8_t xsens_day;
48 
49 #define AhrsEvent(_ahrs_handler) { \
50  LED_TOGGLE(3); \
51  InsEventCheckAndHandle(handle_ins_msg()) \
52 }
53 
54 
55 #endif
unsigned short uint16_t
Definition: types.h:16
Attitude and Heading Reference System interface.
uint8_t xsens_msg_status
Definition: ins_xsens.c:200
int8_t xsens_month
Definition: ins_xsens.c:215
int8_t xsens_day
Definition: ins_xsens.c:216
int8_t xsens_hour
Library for the XSENS AHRS.
Definition: ins_xsens.c:210
uint16_t xsens_time_stamp
Definition: ins_xsens.c:201
signed short int16_t
Definition: types.h:17
int8_t xsens_min
Definition: ins_xsens.c:211
int8_t xsens_sec
Definition: ins_xsens.c:212
signed long int32_t
Definition: types.h:19
unsigned char uint8_t
Definition: types.h:14
int16_t xsens_year
Definition: ins_xsens.c:214
int32_t xsens_nanosec
Definition: ins_xsens.c:213
signed char int8_t
Definition: types.h:15