52
Return value
None.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
nSensor
Index of the sensor that is being queried. The value must lie in the range given
by the enumerated type
EfdSensors
, or alternatively from zero to the value
returned by
fdGetNumSensors()
minus one.
pUpper
and
pLower
Pointers to floating point numbers that will contain the maximum and minimum
threshold values. Refer to section 6 for details.
Remarks
None.
void fdSetThresholdAll(fdGlove *pFG, float *pUpper, float
*pLower)
Sets the current gesture recognition threshold settings of the driver.
Return value
None.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
pUpper
and
pLower
Arrays of floating point numbers that contains the maximum and minimum
threshold values. The size of each array must always match the value returned
by
fdGetNumSensors()
. Refer to section 6 for details.
Remarks
None.
void fdSetThreshold(fdGlove *pFG, int nSensor, float
fUpper, float fLower)
Sets the current gesture recognition threshold settings of the driver for a specific
sensor.
Return value
None.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
nSensor