mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:53:34 +08:00
Camera trigger: Fix param handle names, enable trigger if mode set to > 1
This commit is contained in:
@@ -41,29 +41,17 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <systemlib/param/param.h>
|
||||
|
||||
/**
|
||||
* Camera trigger shutter integration time
|
||||
*
|
||||
* This parameter sets the time the shutter is open on the camera.
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @min 0.0
|
||||
* @max 500.0
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_INT_TIME, 1.0f);
|
||||
|
||||
/**
|
||||
* Camera trigger interval
|
||||
*
|
||||
* This parameter sets the time between two consecutive trigger events
|
||||
*
|
||||
* @unit milliseconds
|
||||
* @min 15.0
|
||||
* @max 33.0
|
||||
* @min 4.0
|
||||
* @max 10000.0
|
||||
* @group Camera trigger
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 15.0f);
|
||||
PARAM_DEFINE_FLOAT(TRIG_INTERVAL, 40.0f);
|
||||
|
||||
/**
|
||||
* Camera trigger polarity
|
||||
|
||||
Reference in New Issue
Block a user