Paparazzi UAS  v5.8.2_stable-0-g6260b7c
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 
7 
8 #ifndef UART1_DEV
9 #define UART1_DEV /dev/ttyUSB0
10 #endif
11 
12 #ifndef UARTSPLIT2_DEV
13 #define UARTSPLIT2_DEV /dev/ttyUSB1
14 #endif
15 
16 
17 /* Cameras */
18 extern struct video_config_t bottom_camera;
19 extern struct video_config_t front_camera;
20 
21 /* Default actuators driver */
22 #define DEFAULT_ACTUATORS "boards/ardrone/actuators.h"
23 #define ActuatorDefaultSet(_x,_y) ActuatorArdroneSet(_x,_y)
24 #define ActuatorsDefaultInit() ActuatorsArdroneInit()
25 #define ActuatorsDefaultCommit() ActuatorsArdroneCommit()
26 
27 
28 /* by default activate onboard baro */
29 #ifndef USE_BARO_BOARD
30 #define USE_BARO_BOARD 1
31 #endif
32 
33 #endif /* CONFIG_ARDRONE2 */
struct video_config_t bottom_camera
Definition: board.c:49
struct video_config_t front_camera
Definition: board.c:39
v4l2 video device settings interface Works on Linux platforms
V4L2 device settings.
Definition: video_device.h:37