Пример #1
0
        public Motus_1_Platform(SingularSensingElement defaultValues, int sensorsPerPad = 1)
        {
            _numElementsPerPad = sensorsPerPad;
            _pads = new SensorArray[9];
            for (int i = 0; i < 8; i++)
            {
                _pads[i] = new SensorArray(_numElementsPerPad, defaultValues);
            }

            // special value for the center
            defaultValues.PctActiveThreshold = 0.25f;
            _pads[8] = new SensorArray(_numElementsPerPad, defaultValues);
        }
Пример #2
0
        public Motus_1_Platform(int sensorsPerPad)
        {
            SingularSensingElement defaultValues = new SingularSensingElement();

            defaultValues.UpperLimit         = 3300;
            defaultValues.LowerLimit         = 250;
            defaultValues.PctActiveThreshold = 0.65f;
            defaultValues.ActiveHigh         = false;

            _numElementsPerPad = sensorsPerPad;
            for (int i = 0; i < 8; i++)
            {
                _pads[i] = new SensorArray(_numElementsPerPad, defaultValues);
            }

            // special value for the center
            defaultValues.PctActiveThreshold = 0.25f;
            _pads[8] = new SensorArray(_numElementsPerPad, defaultValues);
        }