
50
respectively, which is the
inverse
of the auto-calibration settings. If auto
calibration was turned off, it is turned on again.
void fdGetSensorMaxAll(fdGlove *pFG, float *pMax)
Obtains the maximum scaled value for each sensor.
Return value
None.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
pMax
Array of floating point values that will contain the maximum scaled sensor
values. The size of the array must always match the value returned by
fdGetNumSensors()
.
Remarks
The glove driver defaults to a maximum scaled value of 1 for each sensor.
float fdGetSensorMax(fdGlove *pFG, int nSensor)
Obtains the maximum scaled value for a specific sensor.
Return value
Returns the maximum scaled values of the sensor.
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.
Remarks
The glove driver defaults to a maximum scaled value of 1 for each sensor.
void fdSetSensorMaxAll(fdGlove *pFG, float *pMax)
Sets the maximum scaled value for each sensor.
Return value
None.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
pMax