Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
pc_sim.h
Go to the documentation of this file.
1#ifndef CONFIG_PC_SIM_H
2#define CONFIG_PC_SIM_H
3
4#define ADC_1 1
5#define ADC_2 2
6#define ADC_3 3
7#define ADC_4 4
8#define ADC_5 5
9#define ADC_6 6
10#define ADC_7 7
11#define ADC_8 8
12
13/* Default actuators driver */
14#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h"
15#define ActuatorDefaultSet ActuatorPwmSet
16#define ActuatorsDefaultInit() ActuatorsPwmInit()
17#define ActuatorsDefaultCommit() ActuatorsPwmCommit()
18
19
20#define DefaultVoltageOfAdc(adc) (1.0*adc)
21
22#ifndef USE_BARO_BOARD
23#if USE_NPS
24#define USE_BARO_BOARD 1
25#else
26#define USE_BARO_BOARD 0
27#endif
28#endif
29
31
32extern struct video_config_t webcam;
33
34// Simulated cameras, see modules/computer_vision/video_thread_nps.c
35extern struct video_config_t front_camera;
36extern struct video_config_t bottom_camera;
37
38#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.