camera_trigger:Refacter GPIO camera triggering

Refactored for efficiency and simplicity.
This commit is contained in:
David Sidrane
2018-06-14 08:43:44 -10:00
committed by Beat Küng
parent ff365cad08
commit 4e5e0c6921
3 changed files with 30 additions and 23 deletions

View File

@@ -115,6 +115,9 @@ PARAM_DEFINE_INT32(TRIG_MODE, 0);
* Selects which pin is used, ranges from 1 to 6 (AUX1-AUX6 on px4fmu-v2 and the rail
* pins on px4fmu-v4). The PWM interface takes two pins per camera, while relay
* triggers on every pin individually. Example: Value 56 would trigger on pins 5 and 6.
* For GPIO mode Pin 6 will be triggered followed by 5. With a value of 65 pin 5 will
* be triggered followed by 6. Pins may be non contiguous. I.E. 16 or 61.
* for GPIO mode the delay pin to pin is < .2 uS.
*
* @min 1
* @max 123456