Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
paparazzi.h
Go to the documentation of this file.
1#ifndef PAPARAZZI_H
2#define PAPARAZZI_H
3
4#include <inttypes.h>
5
6typedef 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
short int16_t
Typedef defining 16 bit short type.