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 |
|
Range |
|
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 |
|
Reboot required |
Yes — the change takes effect after a reboot. |
User level |
Standard |
Values¶
Value |
Meaning |
|---|---|
|
Disabled |
|
AUX1 |
|
AUX2 |
|
AUX3 |
|
AUX4 |
|
AUX5 |
|
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 |
|---|---|
|
TriggerLow |
|
TriggerHigh |
CAM1_HFOV¶
Camera horizontal field of view
Camera horizontal field of view. 0 if unknown
Units |
|
Range |
|
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 |
|
Range |
|
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 |
|---|---|
|
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 |
|---|---|
|
Low |
|
High |
CAM1_SERVO_OFF¶
Camera servo OFF PWM value
PWM value in microseconds to move servo to when shutter is deactivated
Units |
|
Range |
|
User level |
Standard |
CAM1_SERVO_ON¶
Camera servo ON PWM value
PWM value in microseconds to move servo to when shutter is activated
Units |
|
Range |
|
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 |
|
Range |
|
User level |
Standard |
CAM1_TYPE¶
Camera shutter (trigger) type
how to trigger the camera to take a picture
User level |
Standard |
Values¶
Value |
Meaning |
|---|---|
|
None |
|
Servo |
|
Relay |
|
GoPro in Solo Gimbal |
|
Mount (Siyi/Topotek/Viewpro/Xacti) |
|
MAVLink |
|
MAVLinkCamV2 (Gremsy/AVT) |
|
Scripting |
|
RunCam |
CAM1_VFOV¶
Camera vertical field of view
Camera vertical field of view. 0 if unknown
Units |
|
Range |
|
User level |
Standard |