Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
imu_gl1.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010 Antoine Drouin <poinix@gmail.com>
3
* 2013 Felix Ruess <felix.ruess@gmail.com>
4
* 2013 Eduardo Lavratti <agressiva@hotmail.com>
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
30
#ifndef IMU_GL1_H
31
#define IMU_GL1_H
32
33
#include "generated/airframe.h"
34
#include "
subsystems/imu.h
"
35
36
/* include default GL1 sensitivity/channel definitions */
37
#include "
subsystems/imu/imu_gl1_defaults.h
"
38
39
#include "
peripherals/l3g4200.h
"
40
#include "
peripherals/hmc58xx.h
"
41
#include "
peripherals/adxl345_i2c.h
"
42
43
struct
ImuGL1I2c
{
44
struct
Adxl345_I2c
acc_adxl
;
45
struct
L3g4200
gyro_l3g
;
46
struct
Hmc58xx
mag_hmc
;
47
};
48
49
extern
struct
ImuGL1I2c
imu_gl1
;
50
51
extern
void
imu_gl1_init
(
void
);
52
extern
void
imu_gl1_periodic
(
void
);
53
extern
void
imu_gl1_event
(
void
);
54
55
#endif
/* IMU_GL1_H */
ImuGL1I2c::acc_adxl
struct Adxl345_I2c acc_adxl
Definition:
imu_gl1.h:44
ImuGL1I2c::mag_hmc
struct Hmc58xx mag_hmc
Definition:
imu_gl1.h:46
Adxl345_I2c
Definition:
adxl345_i2c.h:39
imu_gl1
struct ImuGL1I2c imu_gl1
Definition:
imu_gl1.c:78
imu_gl1_init
void imu_gl1_init(void)
Definition:
imu_gl1.c:80
imu.h
adxl345_i2c.h
L3g4200
Definition:
l3g4200.h:67
imu_gl1_event
void imu_gl1_event(void)
Definition:
imu_gl1.c:118
imu_gl1_defaults.h
ImuGL1I2c::gyro_l3g
struct L3g4200 gyro_l3g
Definition:
imu_gl1.h:45
l3g4200.h
ImuGL1I2c
Definition:
imu_gl1.h:43
hmc58xx.h
imu_gl1_periodic
void imu_gl1_periodic(void)
Definition:
imu_gl1.c:107
Hmc58xx
Definition:
hmc58xx.h:60
sw
airborne
subsystems
imu
imu_gl1.h
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17