mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
camera trigger param @unit
This commit is contained in:
committed by
Lorenz Meier
parent
63235747c2
commit
289b9266c3
@@ -46,7 +46,7 @@
|
||||
*
|
||||
* This parameter sets the time between two consecutive trigger events
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @unit ms
|
||||
* @min 4.0
|
||||
* @max 10000.0
|
||||
* @group Camera trigger
|
||||
@@ -58,6 +58,9 @@ PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 40.0f);
|
||||
*
|
||||
* This parameter sets the polarity of the trigger (0 = ACTIVE_LOW, 1 = ACTIVE_HIGH )
|
||||
*
|
||||
* @unit enum
|
||||
* @value 0 ACTIVE_LOW
|
||||
* @value 1 ACTIVE_HIGH
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @group Camera trigger
|
||||
@@ -69,7 +72,7 @@ PARAM_DEFINE_INT32(TRIG_POLARITY, 0);
|
||||
*
|
||||
* This parameter sets the time the trigger needs to pulled high or low.
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @unit ms
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_ACT_TIME, 0.5f);
|
||||
@@ -79,7 +82,7 @@ PARAM_DEFINE_FLOAT(TRIG_ACT_TIME, 0.5f);
|
||||
*
|
||||
* 0 disables the trigger, 1 sets it to enabled on command, 2 always on, 3 distance based, 4 distance based enabled on command
|
||||
*
|
||||
*
|
||||
* @unit None
|
||||
* @min 0
|
||||
* @max 4
|
||||
* @group Camera trigger
|
||||
@@ -91,6 +94,7 @@ PARAM_DEFINE_INT32(TRIG_MODE, 0);
|
||||
*
|
||||
* Selects which pin is used, ranges from 1 to 6 (AUX1-AUX6)
|
||||
*
|
||||
* @unit None
|
||||
* @min 1
|
||||
* @max 123456
|
||||
* @group Camera trigger
|
||||
@@ -102,7 +106,7 @@ PARAM_DEFINE_INT32(TRIG_PINS, 12);
|
||||
*
|
||||
* Sets the distance at which to trigger the camera.
|
||||
*
|
||||
* @unit meters
|
||||
* @unit m
|
||||
* @min 0
|
||||
* @group Camera trigger
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user