Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ins_arduimu_basic.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2011 Gautier Hattenberger
3 * based on ArduIMU driver:
4 * Autoren@ZHAW: schmiemi
5 * chaneren
6 *
7 * This file is part of paparazzi.
8 *
9 * paparazzi is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
12 * any later version.
13 *
14 * paparazzi is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with paparazzi; see the file COPYING. If not, write to
21 * the Free Software Foundation, 59 Temple Place - Suite 330,
22 * Boston, MA 02111-1307, USA.
23 *
24 */
25
26#ifndef ArduIMU_H
27#define ArduIMU_H
28
29#include "std.h"
31
32extern struct FloatEulers arduimu_eulers;
33extern struct FloatRates arduimu_rates;
34extern struct FloatVect3 arduimu_accel;
35
36extern float ins_roll_neutral;
37extern float ins_pitch_neutral;
39
40void ArduIMU_init(void);
41void ArduIMU_periodic(void);
42void ArduIMU_periodicGPS(void);
43void ArduIMU_event(void);
44
45#endif // ArduIMU_H
euler angles
angular rates
struct FloatRates arduimu_rates
void ArduIMU_event(void)
float ins_roll_neutral
Definition ins_arduimu.c:14
void ArduIMU_periodicGPS(void)
Definition ins_arduimu.c:36
struct FloatVect3 arduimu_accel
struct FloatEulers arduimu_eulers
ArduIMU simulation.
void ArduIMU_periodic(void)
Definition ins_arduimu.c:26
void ArduIMU_init(void)
Definition ins_arduimu.c:25
float ins_pitch_neutral
Definition ins_arduimu.c:15
bool arduimu_calibrate_neutrals
Paparazzi floating point algebra.