Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_nps.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 Felix Ruess <felix.ruess@gmail.com>
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
21
#ifndef IMU_NPS_H
22
#define IMU_NPS_H
23
24
#include "
modules/imu/imu.h
"
25
26
#include "generated/airframe.h"
27
28
struct
ImuNps
{
29
uint8_t
mag_available
;
30
uint8_t
accel_available
;
31
uint8_t
gyro_available
;
32
33
struct
Int32Rates
gyro
;
34
struct
Int32Vect3
accel
;
35
struct
Int32Vect3
mag
;
36
};
37
38
extern
struct
ImuNps
imu_nps
;
39
40
extern
void
imu_feed_gyro_accel
(
void
);
41
extern
void
imu_feed_mag
(
void
);
42
43
extern
void
imu_nps_init
(
void
);
44
extern
void
imu_nps_event
(
void
);
45
46
#endif
/* IMU_NPS_H */
Int32Rates
angular rates
Definition:
pprz_algebra_int.h:179
Int32Vect3
Definition:
pprz_algebra_int.h:88
imu.h
Inertial Measurement Unit interface.
imu_feed_mag
void imu_feed_mag(void)
Definition:
imu_nps.c:76
imu_feed_gyro_accel
void imu_feed_gyro_accel(void)
Definition:
imu_nps.c:65
ImuNps::gyro
struct Int32Rates gyro
Definition:
imu_nps.h:33
imu_nps_event
void imu_nps_event(void)
Definition:
imu_nps.c:83
ImuNps::accel
struct Int32Vect3 accel
Definition:
imu_nps.h:34
ImuNps::gyro_available
uint8_t gyro_available
Definition:
imu_nps.h:31
imu_nps
struct ImuNps imu_nps
Definition:
imu_nps.c:28
ImuNps::mag
struct Int32Vect3 mag
Definition:
imu_nps.h:35
ImuNps::mag_available
uint8_t mag_available
Definition:
imu_nps.h:29
imu_nps_init
void imu_nps_init(void)
Definition:
imu_nps.c:30
ImuNps::accel_available
uint8_t accel_available
Definition:
imu_nps.h:30
ImuNps
Definition:
imu_nps.h:28
uint8_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition:
vl53l1_types.h:98
sw
airborne
modules
imu
imu_nps.h
Generated on Fri Nov 8 2024 14:10:46 for Paparazzi UAS by
1.9.1