Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ardrone2.h
Go to the documentation of this file.
1 #ifndef CONFIG_ARDRONE2
2 #define CONFIG_ARDRONE2
3 
4 #define BOARD_ARDRONE2
5 
6 #ifndef UART1_DEV
7 #define UART1_DEV /dev/ttyUSB0
8 #endif
9 
10 #ifndef UARTSPLIT2_DEV
11 #define UARTSPLIT2_DEV /dev/ttyUSB1
12 #endif
13 
15 
16 /* Cameras */
17 extern struct video_config_t bottom_camera;
18 extern struct video_config_t front_camera;
19 
20 /* Default actuators driver */
21 #define DEFAULT_ACTUATORS "boards/ardrone/actuators.h"
22 #define ActuatorDefaultSet(_x,_y) ActuatorArdroneSet(_x,_y)
23 #define ActuatorsDefaultInit() ActuatorsArdroneInit()
24 #define ActuatorsDefaultCommit() ActuatorsArdroneCommit()
25 
26 
27 /* by default activate onboard baro */
28 #ifndef USE_BARO_BOARD
29 #define USE_BARO_BOARD 1
30 #endif
31 
32 #endif /* CONFIG_ARDRONE2 */
struct video_config_t bottom_camera
Definition: board.c:68
struct video_config_t front_camera
Video thread dummy for simulation.
Definition: board.c:43
V4L2 device settings.
Definition: video_device.h:55