mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
Rework trigger to operate on work queue and timers without jitter
This commit is contained in:
@@ -51,19 +51,19 @@
|
||||
* @max 500.0
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_INT_TIME, 300.0f);
|
||||
PARAM_DEFINE_FLOAT(TRIG_INT_TIME, 1.0f);
|
||||
|
||||
/**
|
||||
* Camera trigger transfer time
|
||||
* Camera trigger interval
|
||||
*
|
||||
* This parameter sets the time the image transfer takes (PointGrey mode_0)
|
||||
* This parameter sets the time between two consecutive trigger events
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @min 15.0
|
||||
* @max 33.0
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_TRANS_TIME, 15.0f);
|
||||
PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 15.0f);
|
||||
|
||||
/**
|
||||
* Camera trigger polarity
|
||||
@@ -79,10 +79,20 @@ PARAM_DEFINE_INT32(TRIG_POLARITY, 0);
|
||||
/**
|
||||
* Camera trigger activation time
|
||||
*
|
||||
* This parameter sets the time the trigger needs to pulled high or low to start light
|
||||
* integration.
|
||||
* This parameter sets the time the trigger needs to pulled high or low.
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_ACT_TIME, 5.0f);
|
||||
PARAM_DEFINE_FLOAT(TRIG_ACT_TIME, 0.5f);
|
||||
|
||||
/**
|
||||
* Camera trigger mode
|
||||
*
|
||||
* 0 disables the trigger, 1 sets it to enabled on command, 2 always on
|
||||
*
|
||||
* @min 0
|
||||
* @max 2
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_INT32(TRIG_MODE, 0);
|
||||
|
||||
Reference in New Issue
Block a user