digital_cam_gpio
Digital Photo Camera Triggering (using a GPIO pin) This module controls triggering of an attached external digital camera via one or more GPIO pins for on/off/shoot/zoom.
DC_ |
||
---|---|---|
Name |
Value |
Description |
SHOOT_ON_BUTTON_RELEASE |
if defined, call dc_send_shot_postion on button release instead of on push |
|
SHUTTER_GPIO |
GPIOC,GPIO12 |
mandatory, gpio to control shutter |
ZOOM_IN_GPIO |
GPIOC,GPIO2 |
optional, gpio to activate zoom in |
ZOOM_OUT_GPIO |
GPIOC,GPIO5 |
optional, gpio to activate zoom out |
POWER_GPIO |
GPIOB,GPIO1 |
optional, gpio to turn power on |
POWER_OFF_GPIO |
GPIOC,GPIO1 |
optional, gpio to turn power off |
PUSH |
gpio_set|gpio_clear |
specifies whether to set or clear gpio to push the shutter (default: gpio_set) |
RELEASE |
gpio_clear|gpio_set |
specifies whether to set or clear gpio to release the shutter (default: gpio_clear) |
SHUTTER_DELAY |
0.5 |
how long to push shutter in seconds |
POWER_OFF_DELAY |
0.75 |
how long to send power off in seconds |
Depends
- digital_cam_common
Conflicts
- digital_cam_i2c
- digital_cam_servo
- digital_cam_uart
- digital_cam_video
- digital_cam_pprzlink