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
disco.h File Reference
#include "std.h"
#include "peripherals/video_device.h"
#include "boards/bebop/mt9v117.h"
#include "boards/bebop/mt9f002.h"
+ Include dependency graph for disco.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOARD_DISCO
 
#define UART1_DEV   /dev/ttyPA1
 UART connected to GPS internally. More...
 
#define GPS_UBX_ENABLE_NMEA_DATA_MASK   0xff
 
#define UART2_DEV   /dev/ttyUSB0
 For using serial devices via USB to serial converter electronics E.g. More...
 
#define UART4_DEV   /dev/ttyUSB1
 
#define UART5_DEV   /dev/ttyACM0
 
#define UART6_DEV   /dev/ttyACM1
 
#define UART3_DEV   /dev/uart-sbus
 uart connected to SBUS input More...
 
#define DEFAULT_ACTUATORS   "boards/disco/actuators.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorsDiscoSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsDiscoInit()
 
#define ActuatorsDefaultCommit()   ActuatorsDiscoCommit()
 
#define USE_BARO_BOARD   1
 
#define SPI0_MODE   0
 
#define SPI0_BITS_PER_WORD   8
 
#define SPI0_MAX_SPEED_HZ   320000
 
#define MS45XX_I2C_DEV   i2c1
 
#define MS45XX_PRESSURE_RANGE   4
 
#define MS45XX_PRESSURE_TYPE   1
 
#define MS45XX_OUTPUT_TYPE   1
 
#define MS45XX_PRESSURE_OUTPUT_TYPE_InH2O   1
 
#define MS45XX_AIRSPEED_SCALE   1.6327
 
#define USE_AIRSPEED_LOWPASS_FILTER   1
 
#define MS45XX_LOWPASS_TAU   0.15
 
#define USE_AIRSPEED   1
 

Variables

struct video_config_t bottom_camera
 
struct video_config_t front_camera
 Video thread dummy for simulation. More...
 
struct mt9f002_t mt9f002
 

Macro Definition Documentation

#define ActuatorDefaultSet (   _x,
  _y 
)    ActuatorsDiscoSet(_x,_y)

Definition at line 62 of file disco.h.

#define ActuatorsDefaultCommit ( )    ActuatorsDiscoCommit()

Definition at line 64 of file disco.h.

#define ActuatorsDefaultInit ( )    ActuatorsDiscoInit()

Definition at line 63 of file disco.h.

#define BOARD_DISCO

Definition at line 25 of file disco.h.

#define DEFAULT_ACTUATORS   "boards/disco/actuators.h"

Definition at line 61 of file disco.h.

#define GPS_UBX_ENABLE_NMEA_DATA_MASK   0xff

Definition at line 37 of file disco.h.

#define MS45XX_AIRSPEED_SCALE   1.6327

Definition at line 99 of file disco.h.

#define MS45XX_I2C_DEV   i2c1

Definition at line 94 of file disco.h.

#define MS45XX_LOWPASS_TAU   0.15

Definition at line 105 of file disco.h.

#define MS45XX_OUTPUT_TYPE   1

Definition at line 97 of file disco.h.

#define MS45XX_PRESSURE_OUTPUT_TYPE_InH2O   1

Definition at line 98 of file disco.h.

#define MS45XX_PRESSURE_RANGE   4

Definition at line 95 of file disco.h.

#define MS45XX_PRESSURE_TYPE   1

Definition at line 96 of file disco.h.

#define SPI0_BITS_PER_WORD   8

Definition at line 89 of file disco.h.

#define SPI0_MAX_SPEED_HZ   320000

Definition at line 90 of file disco.h.

#define SPI0_MODE   0

Definition at line 88 of file disco.h.

#define UART1_DEV   /dev/ttyPA1

UART connected to GPS internally.

Definition at line 35 of file disco.h.

#define UART2_DEV   /dev/ttyUSB0

For using serial devices via USB to serial converter electronics E.g.

a XBee modem, a 3DR radio modem, Serial Stereocam etc. etc.

Definition at line 43 of file disco.h.

#define UART3_DEV   /dev/uart-sbus

uart connected to SBUS input

Definition at line 57 of file disco.h.

#define UART4_DEV   /dev/ttyUSB1

Definition at line 46 of file disco.h.

#define UART5_DEV   /dev/ttyACM0

Definition at line 49 of file disco.h.

#define UART6_DEV   /dev/ttyACM1

Definition at line 52 of file disco.h.

#define USE_AIRSPEED   1

Definition at line 112 of file disco.h.

Referenced by nav_bungee_takeoff_run().

#define USE_AIRSPEED_LOWPASS_FILTER   1

Definition at line 101 of file disco.h.

#define USE_BARO_BOARD   1

Definition at line 75 of file disco.h.

Variable Documentation

struct video_config_t bottom_camera

Definition at line 68 of file board.c.

struct video_config_t front_camera

Video thread dummy for simulation.

  • Keeps track of added devices, which can be referenced by simulation code such as in simulator/nps/fdm_gazebo.c.

Definition at line 43 of file board.c.

struct mt9f002_t mt9f002

Definition at line 71 of file disco.h.