Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bebop.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Freek van Tienen <freek.v.tienen@gmail.com>
3
*
4
* This file is part of paparazzi.
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, write to
18
* the Free Software Foundation, 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
20
*
21
*/
22
23
#ifndef CONFIG_BEBOP
24
#define CONFIG_BEBOP
25
26
#define BOARD_BEBOP
27
28
#include "
peripherals/video_device.h
"
29
31
#define UART1_DEV /dev/ttyPA1
32
33
/* Default actuators driver */
34
#define DEFAULT_ACTUATORS "boards/bebop/actuators.h"
35
#define ActuatorDefaultSet(_x,_y) ActuatorsBebopSet(_x,_y)
36
#define ActuatorsDefaultInit() ActuatorsBebopInit()
37
#define ActuatorsDefaultCommit() ActuatorsBebopCommit()
38
39
/* Cameras */
40
extern
struct
video_config_t
bottom_camera
;
41
extern
struct
video_config_t
front_camera
;
42
43
/* by default activate onboard baro */
44
#ifndef USE_BARO_BOARD
45
#define USE_BARO_BOARD 1
46
#endif
47
48
/* The ADC from the sonar */
49
#if USE_ADC0
50
#define ADC0_ID 0
51
#define ADC0_CHANNELS 2
52
#define ADC0_CHANNELS_CNT 1
53
#define ADC0_BUF_LENGTH 8192
54
#endif
55
56
/* The SPI from the sonar */
57
#if USE_SPI0
58
#define SPI0_MODE 0
59
#define SPI0_BITS_PER_WORD 8
60
#define SPI0_MAX_SPEED_HZ 320000
61
#endif
62
63
#endif
/* CONFIG_BEBOP */
bottom_camera
struct video_config_t bottom_camera
Definition:
board.c:49
front_camera
struct video_config_t front_camera
Definition:
board.c:39
video_device.h
v4l2 video device settings interface Works on Linux platforms
video_config_t
V4L2 device settings.
Definition:
video_device.h:37
sw
airborne
boards
bebop.h
Generated on Tue Jun 21 2016 14:01:12 for Paparazzi UAS by
1.8.8