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
sensors_hitl.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2023 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
21#ifndef SENSORS_HITL_H
22#define SENSORS_HITL_H
23
24#include "std.h"
25
26#ifndef PRIMARY_GPS
27#define PRIMARY_GPS GPS_SIM
28#endif
29
30extern bool gps_has_fix;
31
32extern void sensors_hitl_init(void);
33extern void sensors_hitl_periodic(void);
34extern void sensors_hitl_event(void);
35extern void sensors_hitl_parse_HITL_IMU(uint8_t *buf);
36extern void sensors_hitl_parse_HITL_GPS(uint8_t *buf);
38
39// dummy definition for compilation
40extern void imu_feed_gyro_accel(void);
41extern void imu_feed_mag(void);
42extern void gps_feed_value(void);
43
44#endif /* SENSORS_HITL_H */
45
void imu_feed_mag(void)
Definition imu_nps.c:76
void sensors_hitl_event(void)
void sensors_hitl_periodic(void)
void imu_feed_gyro_accel(void)
Definition imu_nps.c:65
void gps_feed_value(void)
Definition gps_sim_nps.c:32
bool gps_has_fix
Definition gps_sim_nps.c:30
void sensors_hitl_parse_HITL_AIR_DATA(uint8_t *buf)
void sensors_hitl_parse_HITL_GPS(uint8_t *buf)
void sensors_hitl_parse_HITL_IMU(uint8_t *buf)
void sensors_hitl_init(void)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.