Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_Camera/AP_Camera_config.h
Views: 1798
#pragma once12#include <AP_HAL/AP_HAL_Boards.h>3#include <AP_Mount/AP_Mount_config.h>4#include <AP_Relay/AP_Relay_config.h>5#include <GCS_MAVLink/GCS_config.h>67#ifndef AP_CAMERA_ENABLED8#define AP_CAMERA_ENABLED 19#endif1011#ifndef AP_CAMERA_BACKEND_DEFAULT_ENABLED12#define AP_CAMERA_BACKEND_DEFAULT_ENABLED AP_CAMERA_ENABLED13#endif1415#ifndef AP_CAMERA_MAVLINK_ENABLED16#define AP_CAMERA_MAVLINK_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED17#endif1819#ifndef AP_CAMERA_MAVLINKCAMV2_ENABLED20#define AP_CAMERA_MAVLINKCAMV2_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED && BOARD_FLASH_SIZE > 102421#endif2223#ifndef AP_CAMERA_MOUNT_ENABLED24#define AP_CAMERA_MOUNT_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_MOUNT_ENABLED25#endif2627#ifndef AP_CAMERA_RELAY_ENABLED28#define AP_CAMERA_RELAY_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && AP_RELAY_ENABLED29#endif3031#ifndef AP_CAMERA_SERVO_ENABLED32#define AP_CAMERA_SERVO_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED33#endif3435#ifndef AP_CAMERA_SOLOGIMBAL_ENABLED36#define AP_CAMERA_SOLOGIMBAL_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_SOLO_GIMBAL_ENABLED37#endif3839#ifndef AP_CAMERA_SCRIPTING_ENABLED40#define AP_CAMERA_SCRIPTING_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && AP_SCRIPTING_ENABLED41#endif4243#ifndef AP_CAMERA_SEND_FOV_STATUS_ENABLED44#define AP_CAMERA_SEND_FOV_STATUS_ENABLED AP_MOUNT_POI_TO_LATLONALT_ENABLED45#endif4647// set camera source is supported on cameras that may have more than one lens which is curently only cameras within gimbals/mounts48#ifndef AP_CAMERA_SET_CAMERA_SOURCE_ENABLED49#define AP_CAMERA_SET_CAMERA_SOURCE_ENABLED HAL_MOUNT_SET_CAMERA_SOURCE_ENABLED50#endif5152// send thermal range is supported on a few thermal cameras but all are within mounts53#ifndef AP_CAMERA_SEND_THERMAL_RANGE_ENABLED54#define AP_CAMERA_SEND_THERMAL_RANGE_ENABLED AP_MOUNT_SEND_THERMAL_RANGE_ENABLED55#endif5657#ifndef HAL_RUNCAM_ENABLED58#define HAL_RUNCAM_ENABLED 159#endif6061#ifndef AP_CAMERA_INFO_FROM_SCRIPT_ENABLED62#define AP_CAMERA_INFO_FROM_SCRIPT_ENABLED AP_CAMERA_SCRIPTING_ENABLED63#endif6465#ifndef AP_CAMERA_RUNCAM_ENABLED66#define AP_CAMERA_RUNCAM_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_RUNCAM_ENABLED67#endif686970