
32
be used to test for a flexed (closed) gesture, and the minimum value of the two
will be used to test for an unflexed (open) gesture.
6.8. Auto-Calibration
The driver can provide sensor outputs in an automatic, linearly calibrated
fashion. During every update, the raw value read from the sensor is compared
to the current minimum and maximum raw values (raw
min
and raw
max
) as set by
the functions
fdSetCalibrationAll()
,
fdSetCalibration()
or
fdResetCalibration()
. If the current minimum and maximum values are
exceeded, they are overwritten. The upper and lower calibration values are
therefore continuously pushed "outwards". The normalized output is given by
the first order equation
,
.
min
max
min
Max
raw
raw
raw
raw
out
val
−
−
=
(F-1)
which is in [0...Max]. The value of Max is set by the functions
fdSetSensorMaxAll()
and
fdSetSensorMax()
. Doing a few flexing
movements with the hand quickly sets the operating values for
raw
min
and
raw
max
, and calibrates the glove.
The auto-calibration process can be ignored by simply regarding only the raw
sensor outputs. It would be up to the application developer to provide a suitable
calibration process.
Note that calibration is mandatory, especially with the high-end gloves
which contain no hardware calibration possibilities.