APM:Libraries
sitl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define HAL_BOARD_NAME "SITL"
4 #define HAL_CPU_CLASS HAL_CPU_CLASS_1000
5 #define HAL_OS_POSIX_IO 1
6 #define HAL_OS_SOCKETS 1
7 #define HAL_STORAGE_SIZE 16384
8 #define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE
9 #define HAL_BOARD_LOG_DIRECTORY "logs"
10 #define HAL_BOARD_TERRAIN_DIRECTORY "terrain"
11 #define HAL_PARAM_DEFAULTS_PATH nullptr
12 #define HAL_INS_DEFAULT HAL_INS_HIL
13 #define HAL_BARO_DEFAULT HAL_BARO_HIL
14 #define HAL_COMPASS_DEFAULT HAL_COMPASS_HIL
15 #define HAL_GPIO_A_LED_PIN 61
16 #define HAL_GPIO_B_LED_PIN 48
17 #define HAL_GPIO_C_LED_PIN 117
18 #define HAL_GPIO_LED_ON 0
19 #define HAL_GPIO_LED_OFF 1
20 
21 #define HAL_HAVE_BOARD_VOLTAGE 1
22 #define HAL_HAVE_SAFETY_SWITCH 1