Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
paparazzi.h
Go to the documentation of this file.
1 #ifndef PAPARAZZI_H
2 #define PAPARAZZI_H
3 
4 #include <inttypes.h>
5 
6 typedef int16_t pprz_t; /* type of commands */
7 
8 #define MAX_PPRZ 9600
9 #define MIN_PPRZ -MAX_PPRZ
10 
11 #define TRIM_PPRZ(pprz) (pprz < MIN_PPRZ ? MIN_PPRZ : \
12  (pprz > MAX_PPRZ ? MAX_PPRZ : \
13  pprz))
14 #define TRIM_UPPRZ(pprz) (pprz < 0 ? 0 : \
15  (pprz > MAX_PPRZ ? MAX_PPRZ : \
16  pprz))
17 
18 #if defined FBW && defined AP
19 #define SINGLE_MCU 1
20 #endif
21 
22 #endif /* PAPARAZZI_H */
int16_t pprz_t
Definition: paparazzi.h:6
signed short int16_t
Definition: types.h:17