Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
intermcu_ap.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Freek van Tienen <freek.v.tienen@gmail.com>
3  * Copyright (C) 2022 Gautier Hattenberger <gautier.hattenberger@enac.fr>
4  *
5  * This file is part of paparazzi.
6  *
7  * paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, see
19  * <http://www.gnu.org/licenses/>.
20  *
21  */
22 
27 #ifndef INTERMCU_AP_H
28 #define INTERMCU_AP_H
29 
31 #include "generated/airframe.h"
32 
35 extern void intermcu_send_commands(pprz_t *command_values, uint8_t ap_mode);
36 
39 extern void intermcu_send_spektrum_bind(void);
40 
43 extern void intermcu_set_enabled(bool value);
44 
47 extern void intermcu_parse_IMCU_FBW_STATUS(uint8_t *buf);
48 
49 /* Structure for FBW status */
50 struct fbw_status_t {
54 };
55 
56 #endif /* INTERMCU_AP_H */
57 
Inter-MCU interface.
uint8_t rc_status
Definition: intermcu_ap.h:51
uint8_t mode
Definition: intermcu_ap.h:53
void intermcu_send_spektrum_bind(void)
send binding signal for spektrum receiver
Definition: intermcu_ap.c:147
void intermcu_set_enabled(bool value)
enable/disable intermcu link
Definition: intermcu_ap.c:123
uint8_t frame_rate
Definition: intermcu_ap.h:52
void intermcu_parse_IMCU_FBW_STATUS(uint8_t *buf)
Datalink event functions.
Definition: intermcu_ap.c:154
void intermcu_send_commands(pprz_t *command_values, uint8_t ap_mode)
send command vector over intermcu link instead of actuators
Definition: intermcu_ap.c:129
int16_t pprz_t
Definition: paparazzi.h:6
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98