Ejemplo n.º 1
0
        public MotionRecognitionData(MotionRecognitionMain pParent)
        {
            MotionDataA = new double[ProjectConstants.WIMMOTE_NUMBER_OF_COLUMNS, MAX_NUMBER_OF_ROWS_MOTION_DATA];
            MotionDataB = new double[ProjectConstants.WIMMOTE_NUMBER_OF_COLUMNS, MAX_NUMBER_OF_ROWS_MOTION_DATA];

            CurrentMotionData = MotionDataA;
            UsedArray         = UsedArrayType.A;
            mCurrentRowIndex  = 0;

            mParent = pParent;
        }
        public MotionRecognitionData(MotionRecognitionMain pParent)
        {
            MotionDataA = new double[ProjectConstants.WIMMOTE_NUMBER_OF_COLUMNS, MAX_NUMBER_OF_ROWS_MOTION_DATA];
            MotionDataB = new double[ProjectConstants.WIMMOTE_NUMBER_OF_COLUMNS, MAX_NUMBER_OF_ROWS_MOTION_DATA];

            CurrentMotionData = MotionDataA;
            UsedArray = UsedArrayType.A;
            mCurrentRowIndex = 0;

            mParent = pParent;
        }
Ejemplo n.º 3
0
 public DataAdaptor(Wiimotes pParent)
 {
     mParent = pParent;
     mMotionRecognition = new MotionRecognitionMain();
 }