Path: blob/master/libraries/AP_Camera/AP_Camera_Params.h
9573 views
#pragma once12#include <AP_Param/AP_Param.h>3#include <AP_Math/AP_Math.h>45class AP_Camera_Params {67public:89static const struct AP_Param::GroupInfo var_info[];1011AP_Camera_Params(void);1213/* Do not allow copies */14CLASS_NO_COPY(AP_Camera_Params);1516AP_Int8 type; // camera type (see CameraType enum)17AP_Float trigger_duration; // duration in seconds that the camera shutter is held open18AP_Int16 servo_on_pwm; // PWM value to move servo to when shutter is activated19AP_Int16 servo_off_pwm; // PWM value to move servo to when shutter is deactivated20AP_Float trigg_dist; // distance between trigger points (meters)21AP_Int8 relay_on; // relay value to trigger camera22AP_Float interval_min; // minimum time (in seconds) between shots required by camera23AP_Int8 options; // whether to start recording when armed and stop when disarmed24AP_Int8 mount_instance; // mount instance to which camera is associated with25AP_Float hfov; // horizontal field of view in degrees26AP_Float vfov; // vertical field of view in degrees2728// pin number for accurate camera feedback messages29AP_Int8 feedback_pin;30AP_Int8 feedback_polarity;31};323334