Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pc_sim.h
Go to the documentation of this file.
1#ifndef CONFIG_PC_SIM_H
2#define CONFIG_PC_SIM_H
3
4
5/* Default actuators driver */
6#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h"
7#define ActuatorDefaultSet(_x,_y) ActuatorPwmSet(_x,_y)
8#define ActuatorsDefaultInit() ActuatorsPwmInit()
9#define ActuatorsDefaultCommit() ActuatorsPwmCommit()
10
11
12#define DefaultVoltageOfAdc(adc) (1.0*adc)
13
14#ifndef USE_BARO_BOARD
15#if USE_NPS
16#define USE_BARO_BOARD 1
17#else
18#define USE_BARO_BOARD 0
19#endif
20#endif
21
23
24extern struct video_config_t webcam;
25
26// Simulated cameras, see modules/computer_vision/video_thread_nps.c
27extern struct video_config_t front_camera;
28extern struct video_config_t bottom_camera;
29
30#endif /* CONFIG_PC_SIM_H */
struct video_config_t webcam
struct video_config_t front_camera
Video thread dummy for simulation.
Definition board.c:43
struct video_config_t bottom_camera
Definition board.c:68
V4L2 device settings.