Parameters

Configuring UAV parameters

Configuring UAV

_uav_home_dir = 'UAV' # subdirectory of xdg base dir
_uav_cfg_name = 'settings.toml'    # todo use https://github.com/hukkin/tomli
_uav_params_name = 'params.py'

Logging

import logging
LOG_DIR = 'logs'
LOGGING_LEVEL = logging.INFO
LOGGING_NAME = 'uav_log'
# test_eq(cfg.doc_path, p/'_docs')
# test_eq(cfg.lib_path, p/'nbdev')
# test_eq(cfg.nbs_path, p/'nbs')

Cameras

CAMERA_SOURCE = 'AIRSIM'

CAMERA_RESOLUTION = (640, 480)
CAMERA_FPS = 30
CAMERA_FLIP_METHOD = 0
CAMERA_FLIP = False
CAMERA_ROTATION = 0
CAMERA_HFLIP = False
CAMERA_VFLIP = False