Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ ActuatorDefaultSet

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

Definition at line 57 of file disco.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsDiscoCommit()

Definition at line 59 of file disco.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsDiscoInit()

Definition at line 58 of file disco.h.

◆ BOARD_DISCO

#define BOARD_DISCO

Definition at line 25 of file disco.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 56 of file disco.h.

◆ GPS_UBX_ENABLE_NMEA_DATA_MASK

#define GPS_UBX_ENABLE_NMEA_DATA_MASK   0xff

Definition at line 32 of file disco.h.

◆ MS45XX_AIRSPEED_SCALE

#define MS45XX_AIRSPEED_SCALE   1.6327

Definition at line 100 of file disco.h.

◆ MS45XX_I2C_DEV

#define MS45XX_I2C_DEV   i2c1

Definition at line 95 of file disco.h.

◆ MS45XX_LOWPASS_TAU

#define MS45XX_LOWPASS_TAU   0.15

Definition at line 106 of file disco.h.

◆ MS45XX_OUTPUT_TYPE

#define MS45XX_OUTPUT_TYPE   1

Definition at line 98 of file disco.h.

◆ MS45XX_PRESSURE_OUTPUT_TYPE_InH2O

#define MS45XX_PRESSURE_OUTPUT_TYPE_InH2O   1

Definition at line 99 of file disco.h.

◆ MS45XX_PRESSURE_RANGE

#define MS45XX_PRESSURE_RANGE   4

Definition at line 96 of file disco.h.

◆ MS45XX_PRESSURE_TYPE

#define MS45XX_PRESSURE_TYPE   1

Definition at line 97 of file disco.h.

◆ SONAR_BEBOP_PEAK_THRESHOLD

#define SONAR_BEBOP_PEAK_THRESHOLD   50

Definition at line 120 of file disco.h.

◆ SONAR_BEBOP_TRANSITION_COUNT

#define SONAR_BEBOP_TRANSITION_COUNT   50

Definition at line 119 of file disco.h.

◆ SONAR_BEBOP_TRANSITION_HIGH_TO_LOW

#define SONAR_BEBOP_TRANSITION_HIGH_TO_LOW   0.75

Definition at line 117 of file disco.h.

◆ SONAR_BEBOP_TRANSITION_LOW_TO_HIGH

#define SONAR_BEBOP_TRANSITION_LOW_TO_HIGH   1.5

Definition at line 118 of file disco.h.

◆ SPI0_BITS_PER_WORD

#define SPI0_BITS_PER_WORD   8

Definition at line 90 of file disco.h.

◆ SPI0_MAX_SPEED_HZ

#define SPI0_MAX_SPEED_HZ   320000

Definition at line 91 of file disco.h.

◆ SPI0_MODE

#define SPI0_MODE   0

Definition at line 89 of file disco.h.

◆ UART1_DEV

#define UART1_DEV   /dev/ttyPA1

UART connected to GPS internally.

Definition at line 30 of file disco.h.

◆ UART2_DEV

#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.

◆ UART3_DEV

#define UART3_DEV   /dev/uart-sbus

uart connected to SBUS input

Definition at line 52 of file disco.h.

◆ UART4_DEV

#define UART4_DEV   /dev/ttyUSB1

Definition at line 41 of file disco.h.

◆ UART5_DEV

#define UART5_DEV   /dev/ttyACM0

Definition at line 44 of file disco.h.

◆ UART6_DEV

#define UART6_DEV   /dev/ttyACM1

Definition at line 47 of file disco.h.

◆ USE_AIRSPEED

#define USE_AIRSPEED   1

Definition at line 113 of file disco.h.

◆ USE_AIRSPEED_LOWPASS_FILTER

#define USE_AIRSPEED_LOWPASS_FILTER   1

Definition at line 102 of file disco.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Definition at line 76 of file disco.h.

Variable Documentation

◆ bottom_camera

struct video_config_t bottom_camera

Definition at line 68 of file board.c.

◆ front_camera

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.