I have been trying to configure an automated flight plan using Mission Planner and our drone is a 3DR Y6 with APM 2.6.
Using Mission Planner I have programmed an automated flight with several waypoints and the drone is doing it successfully. I'm interested on taking pictures to form a mosaic with the photos, so I installed CHDK in a Canon SX260 and configured it for automatic shutter using this guide (http://copter.ardupilot.com/wiki/common-apm-to-chdk-camera-link-tutorial/) which allows the camera to be controlled from the APM to take a picture any time the GPS sensor detects the copter has moved X meters and it is working using a script in the camera to detect a signal applied to the camera in the USB port.
This method requires to configure:
- CAM_DURATION: 1
- CAM_TRIGG_DIST: X (meters)
- CAM_TRIGG_TYPE: 1
- RELAY_PIN: 13
However, I want to use the Flight Plan DO_DIGICAM_CONTROL for taking images on determined GPS locations on Mission Planner. After using Flight Plan with a polygon and 'AutoWP -> Survey (Grid)' it is possible to configure exactly how many pictures we want and the interface seems pretty simple to use. In 'Camera Config' I select 'DO_DIGICAM_CONTROL' but when I fly the drone it takes pictures using the distance configuration shown before. If the test is performed using CAM_TRIGG_DIST=0 the drone does not take any picture in this case.
The camera control is successful since we are able to take pictures using CAM_TRIGG_DIST and in Mission Planner "Trigger Camera NOW" the camera is properly triggered every time. What is the parameter configuration required to use DO_DIGICAM_CONTROL in order to have priority over the distance-controlled shutter?