CAM1 parameters

13 parameters in the CAM1 family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.

CAM1_DURATION

Camera shutter duration held open

Duration in seconds that the camera shutter is held open

Units

s

Range

0 to 5

User level

Standard

CAM1_FEEDBAK_PIN

Camera feedback pin

pin number to use for save accurate camera feedback messages. If set to -1 then don’t use a pin flag for this, otherwise this is a pin number which if held high after a picture trigger order, will save camera messages when camera really takes a picture. A universal camera hot shoe is needed. The pin should be held high for at least 2 milliseconds for reliable trigger detection. Some common values are given, but see the Wiki’s “GPIOs” page for how to determine the pin number for a given autopilot. See also the CAMx_FEEDBCK_POL option.

Range

-1 to 127

Reboot required

Yes — the change takes effect after a reboot.

User level

Standard

Values

Value

Meaning

-1

Disabled

50

AUX1

51

AUX2

52

AUX3

53

AUX4

54

AUX5

55

AUX6

CAM1_FEEDBAK_POL

Camera feedback pin polarity

Polarity for feedback pin. If this is 1 then the feedback pin should go high on trigger. If set to 0 then it should go low

User level

Standard

Values

Value

Meaning

0

TriggerLow

1

TriggerHigh

CAM1_HFOV

Camera horizontal field of view

Camera horizontal field of view. 0 if unknown

Units

deg

Range

0 to 360

User level

Standard

CAM1_INTRVAL_MIN

Camera minimum time interval between photos

Postpone shooting if previous picture was taken less than this many seconds ago

Units

s

Range

0 to 10

User level

Standard

CAM1_MNT_INST

Camera Mount instance

Mount instance camera is associated with. 0 means camera and mount have identical instance numbers e.g. camera1 and mount1

User level

Standard

CAM1_OPTIONS

Camera options

Camera options bitmask

User level

Standard

Bitmask

Value

Meaning

0

Recording Starts at arming and stops at disarming

CAM1_RELAY_ON

Camera relay ON value

This sets whether the relay goes high or low when it triggers. Note that you should also set RELAY_DEFAULT appropriately for your camera

User level

Standard

Values

Value

Meaning

0

Low

1

High

CAM1_SERVO_OFF

Camera servo OFF PWM value

PWM value in microseconds to move servo to when shutter is deactivated

Units

PWM

Range

1000 to 2000

User level

Standard

CAM1_SERVO_ON

Camera servo ON PWM value

PWM value in microseconds to move servo to when shutter is activated

Units

PWM

Range

1000 to 2000

User level

Standard

CAM1_TRIGG_DIST

Camera trigger distance

Distance in meters between camera triggers. If this value is non-zero then the camera will trigger whenever the position changes by this number of meters regardless of what mode the APM is in. Note that this parameter can also be set in an auto mission using the DO_SET_CAM_TRIGG_DIST command, allowing you to enable/disable the triggering of the camera during the flight.

Units

m

Range

0 to 1000

User level

Standard

CAM1_TYPE

Camera shutter (trigger) type

how to trigger the camera to take a picture

User level

Standard

Values

Value

Meaning

0

None

1

Servo

2

Relay

3

GoPro in Solo Gimbal

4

Mount (Siyi/Topotek/Viewpro/Xacti)

5

MAVLink

6

MAVLinkCamV2 (Gremsy/AVT)

7

Scripting

8

RunCam

CAM1_VFOV

Camera vertical field of view

Camera vertical field of view. 0 if unknown

Units

deg

Range

0 to 180

User level

Standard