Paparazzi UAS  v5.15_devel-230-gc96ce27
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
 
#define SONAR_BEBOP_TRANSITION_HIGH_TO_LOW   0.75
 
#define SONAR_BEBOP_TRANSITION_LOW_TO_HIGH   1.5
 
#define SONAR_BEBOP_TRANSITION_COUNT   50
 
#define SONAR_BEBOP_PEAK_THRESHOLD   50
 

Variables

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

Macro Definition Documentation

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

Definition at line 57 of file disco.h.

#define ActuatorsDefaultCommit ( )    ActuatorsDiscoCommit()

Definition at line 59 of file disco.h.

#define ActuatorsDefaultInit ( )    ActuatorsDiscoInit()

Definition at line 58 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 56 of file disco.h.

#define GPS_UBX_ENABLE_NMEA_DATA_MASK   0xff

Definition at line 32 of file disco.h.

#define MS45XX_AIRSPEED_SCALE   1.6327

Definition at line 100 of file disco.h.

#define MS45XX_I2C_DEV   i2c1

Definition at line 95 of file disco.h.

#define MS45XX_LOWPASS_TAU   0.15

Definition at line 106 of file disco.h.

#define MS45XX_OUTPUT_TYPE   1

Definition at line 98 of file disco.h.

#define MS45XX_PRESSURE_OUTPUT_TYPE_InH2O   1

Definition at line 99 of file disco.h.

#define MS45XX_PRESSURE_RANGE   4

Definition at line 96 of file disco.h.

#define MS45XX_PRESSURE_TYPE   1

Definition at line 97 of file disco.h.

#define SONAR_BEBOP_PEAK_THRESHOLD   50

Definition at line 120 of file disco.h.

#define SONAR_BEBOP_TRANSITION_COUNT   50

Definition at line 119 of file disco.h.

#define SONAR_BEBOP_TRANSITION_HIGH_TO_LOW   0.75

Definition at line 117 of file disco.h.

#define SONAR_BEBOP_TRANSITION_LOW_TO_HIGH   1.5

Definition at line 118 of file disco.h.

#define SPI0_BITS_PER_WORD   8

Definition at line 90 of file disco.h.

#define SPI0_MAX_SPEED_HZ   320000

Definition at line 91 of file disco.h.

#define SPI0_MODE   0

Definition at line 89 of file disco.h.

#define UART1_DEV   /dev/ttyPA1

UART connected to GPS internally.

Definition at line 30 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 38 of file disco.h.

#define UART3_DEV   /dev/uart-sbus

uart connected to SBUS input

Definition at line 52 of file disco.h.

#define UART4_DEV   /dev/ttyUSB1

Definition at line 41 of file disco.h.

#define UART5_DEV   /dev/ttyACM0

Definition at line 44 of file disco.h.

#define UART6_DEV   /dev/ttyACM1

Definition at line 47 of file disco.h.

#define USE_AIRSPEED   1

Definition at line 113 of file disco.h.

Referenced by nav_bungee_takeoff_run().

#define USE_AIRSPEED_LOWPASS_FILTER   1

Definition at line 102 of file disco.h.

#define USE_BARO_BOARD   1

Definition at line 76 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.