APM:Libraries
Classes | Macros
AP_Camera.h File Reference

Photo or video camera manager, with EEPROM-backed storage of constants. More...

#include <AP_Param/AP_Param.h>
#include <AP_Common/AP_Common.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_Relay/AP_Relay.h>
#include <AP_GPS/AP_GPS.h>
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Mission/AP_Mission.h>
#include <drivers/drv_hrt.h>
Include dependency graph for AP_Camera.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_Camera
 

Macros

#define AP_CAMERA_TRIGGER_TYPE_SERVO   0
 
#define AP_CAMERA_TRIGGER_TYPE_RELAY   1
 
#define AP_CAMERA_TRIGGER_DEFAULT_TRIGGER_TYPE   AP_CAMERA_TRIGGER_TYPE_SERVO
 
#define AP_CAMERA_TRIGGER_DEFAULT_DURATION   10
 
#define AP_CAMERA_SERVO_ON_PWM   1300
 
#define AP_CAMERA_SERVO_OFF_PWM   1100
 
#define AP_CAMERA_FEEDBACK_DEFAULT_FEEDBACK_PIN   -1
 

Detailed Description

Photo or video camera manager, with EEPROM-backed storage of constants.

Definition in file AP_Camera.h.

Macro Definition Documentation

◆ AP_CAMERA_FEEDBACK_DEFAULT_FEEDBACK_PIN

#define AP_CAMERA_FEEDBACK_DEFAULT_FEEDBACK_PIN   -1

Definition at line 27 of file AP_Camera.h.

◆ AP_CAMERA_SERVO_OFF_PWM

#define AP_CAMERA_SERVO_OFF_PWM   1100

Definition at line 25 of file AP_Camera.h.

◆ AP_CAMERA_SERVO_ON_PWM

#define AP_CAMERA_SERVO_ON_PWM   1300

Definition at line 24 of file AP_Camera.h.

◆ AP_CAMERA_TRIGGER_DEFAULT_DURATION

#define AP_CAMERA_TRIGGER_DEFAULT_DURATION   10

Definition at line 22 of file AP_Camera.h.

◆ AP_CAMERA_TRIGGER_DEFAULT_TRIGGER_TYPE

#define AP_CAMERA_TRIGGER_DEFAULT_TRIGGER_TYPE   AP_CAMERA_TRIGGER_TYPE_SERVO

Definition at line 20 of file AP_Camera.h.

◆ AP_CAMERA_TRIGGER_TYPE_RELAY

#define AP_CAMERA_TRIGGER_TYPE_RELAY   1

Definition at line 18 of file AP_Camera.h.

Referenced by AP_Camera::trigger_pic(), and AP_Camera::trigger_pic_cleanup().

◆ AP_CAMERA_TRIGGER_TYPE_SERVO

#define AP_CAMERA_TRIGGER_TYPE_SERVO   0

Definition at line 17 of file AP_Camera.h.

Referenced by AP_Camera::trigger_pic(), and AP_Camera::trigger_pic_cleanup().