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
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 "subsystems/actuators/actuators_4017.h"
7 #define ActuatorDefaultSet(_x,_y) Actuator4017Set(_x,_y)
8 #define ActuatorsDefaultInit() Actuators4017Init()
9 #define ActuatorsDefaultCommit() Actuators4017Commit()
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 
24 extern struct video_config_t webcam;
25 
26 // Simulated cameras, see modules/computer_vision/video_thread_nps.c
27 extern struct video_config_t front_camera;
28 extern 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.
Definition: video_device.h:55