Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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.
#define GPX_UBX_UCENTER_ENABLE_NMEA   TRUE
 NMEA enabled to keep the original firmware working.
#define UART2_DEV   /dev/ttyUSB0
 For using serial devices via USB to serial converter electronics E.g.
#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
#define DEFAULT_ACTUATORS   "boards/disco/actuators.h"
#define ActuatorDefaultSet   ActuatorsDiscoSet
#define ActuatorsDefaultInit()
#define ActuatorsDefaultCommit()
#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 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.

Macro Definition Documentation

◆ ActuatorDefaultSet

#define ActuatorDefaultSet   ActuatorsDiscoSet

Definition at line 60 of file disco.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )
Value:
#define ActuatorsDiscoCommit()
Definition actuators.h:64

Definition at line 62 of file disco.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )
Value:
#define ActuatorsDiscoInit()
Definition actuators.h:65

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

◆ GPX_UBX_UCENTER_ENABLE_NMEA

#define GPX_UBX_UCENTER_ENABLE_NMEA   TRUE

NMEA enabled to keep the original firmware working.

Definition at line 34 of file disco.h.

◆ MS45XX_I2C_DEV

#define MS45XX_I2C_DEV   i2c1

Definition at line 93 of file disco.h.

Referenced by ms45xx_i2c_periodic().

◆ MS45XX_OUTPUT_TYPE

#define MS45XX_OUTPUT_TYPE   1

Definition at line 96 of file disco.h.

◆ MS45XX_PRESSURE_OUTPUT_TYPE_InH2O

#define MS45XX_PRESSURE_OUTPUT_TYPE_InH2O   1

Definition at line 97 of file disco.h.

◆ MS45XX_PRESSURE_RANGE

#define MS45XX_PRESSURE_RANGE   4

Definition at line 94 of file disco.h.

◆ MS45XX_PRESSURE_TYPE

#define MS45XX_PRESSURE_TYPE   1

Definition at line 95 of file disco.h.

Referenced by ms45xx_i2c_init().

◆ SONAR_BEBOP_PEAK_THRESHOLD

#define SONAR_BEBOP_PEAK_THRESHOLD   50

Definition at line 109 of file disco.h.

Referenced by sonar_bebop_read().

◆ SONAR_BEBOP_TRANSITION_COUNT

#define SONAR_BEBOP_TRANSITION_COUNT   50

Definition at line 108 of file disco.h.

Referenced by sonar_bebop_read().

◆ SONAR_BEBOP_TRANSITION_HIGH_TO_LOW

#define SONAR_BEBOP_TRANSITION_HIGH_TO_LOW   0.75

Definition at line 106 of file disco.h.

Referenced by sonar_bebop_read().

◆ SONAR_BEBOP_TRANSITION_LOW_TO_HIGH

#define SONAR_BEBOP_TRANSITION_LOW_TO_HIGH   1.5

Definition at line 107 of file disco.h.

Referenced by sonar_bebop_read().

◆ SPI0_BITS_PER_WORD

#define SPI0_BITS_PER_WORD   8

Definition at line 88 of file disco.h.

◆ SPI0_MAX_SPEED_HZ

#define SPI0_MAX_SPEED_HZ   320000

Definition at line 89 of file disco.h.

◆ SPI0_MODE

#define SPI0_MODE   0

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

◆ UART3_DEV

#define UART3_DEV   /dev/uart-sbus

uart connected to SBUS input

Definition at line 55 of file disco.h.

◆ UART4_DEV

#define UART4_DEV   /dev/ttyUSB1

Definition at line 44 of file disco.h.

◆ UART5_DEV

#define UART5_DEV   /dev/ttyACM0

Definition at line 47 of file disco.h.

◆ UART6_DEV

#define UART6_DEV   /dev/ttyACM1

Definition at line 50 of file disco.h.

◆ USE_AIRSPEED

#define USE_AIRSPEED   1

Definition at line 102 of file disco.h.

Referenced by nav_bungee_takeoff_run().

Variable Documentation

◆ bottom_camera

struct video_config_t bottom_camera
extern

Definition at line 106 of file mt9v117.c.

◆ front_camera

struct video_config_t front_camera
extern

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 135 of file mt9f002.c.