@Override
    protected void initBoneMap() {     
        System.out.println("initBoneMap....");
        boneMap.put("Head", new JointPreset(0f,0f,0f,0f,0f,0f));
        boneMap.put("Jaw", new JointPreset(0f,0f,0f,0f,0f,0f));
        boneMap.put("RightShoulder", new JointPreset(0f,0f,0f,0f,0f,0f));
        boneMap.put("LeftShoulder", new JointPreset(0f,0f,0f,0f,0f,0f));
        boneMap.put("Jaw", new JointPreset(0f,0f,0f,0f,0f,0f));
        boneMap.put("Hips", new JointPreset(0f,0f,0f,0f,0f,0f));
        
        boneMap.put("Neck", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI/2f, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI/2f, -FastMath.QUARTER_PI/2f));
        
        boneMap.put("RightArm", new JointPreset(FastMath.QUARTER_PI/2f, -FastMath.HALF_PI, FastMath.QUARTER_PI, 0, FastMath.HALF_PI, -FastMath.QUARTER_PI/2f));
        boneMap.put("RightForeArm", new JointPreset(FastMath.HALF_PI*1.2f, 0f, FastMath.QUARTER_PI, 0, 0f, 0f));
        boneMap.put("RightHand", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI/2f, 0f, 0f, FastMath.QUARTER_PI/2f, -FastMath.QUARTER_PI/2f));
        
        boneMap.put("LeftArm", new JointPreset(FastMath.QUARTER_PI/2f, -FastMath.HALF_PI, FastMath.QUARTER_PI, 0, FastMath.HALF_PI, -FastMath.QUARTER_PI/2f));
        boneMap.put("LeftForeArm", new JointPreset(FastMath.HALF_PI*1.2f, 0f, FastMath.QUARTER_PI, 0, 0f, 0f));
        boneMap.put("LeftHand", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI/2f, 0f, 0f, FastMath.QUARTER_PI/2f, -FastMath.QUARTER_PI/2f));
        
        boneMap.put("Spine1", new JointPreset(-FastMath.QUARTER_PI/8f, -FastMath.QUARTER_PI/8f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f));
        boneMap.put("Spine", new JointPreset(-FastMath.QUARTER_PI/8f, -FastMath.QUARTER_PI/8f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f));
        boneMap.put("LowerBack", new JointPreset(-FastMath.QUARTER_PI/8f, -FastMath.QUARTER_PI/8f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f, FastMath.QUARTER_PI/4f, -FastMath.QUARTER_PI/4f));
        
        boneMap.put("RightUpLeg", new JointPreset(FastMath.QUARTER_PI/2f, -FastMath.QUARTER_PI*1.6f, 0f, 0f, FastMath.QUARTER_PI, -FastMath.QUARTER_PI/2f));
        boneMap.put("RightLeg", new JointPreset(FastMath.HALF_PI*1.2f, 0f, 0f,0f,0f,0f));
        
        boneMap.put("LeftUpLeg", new JointPreset(FastMath.QUARTER_PI/2f, -FastMath.QUARTER_PI*1.6f, 0f, 0f, FastMath.QUARTER_PI, -FastMath.QUARTER_PI/2f));
        boneMap.put("LeftLeg", new JointPreset(FastMath.HALF_PI*1.2f, 0f, 0f,0f,0f,0f));
    }
@ Override protected void initBoneMap ( ) { System . out . println ( "initBoneMap...." ) ; boneMap . put ( "Head" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "Jaw" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "RightShoulder" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "LeftShoulder" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "Jaw" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "Hips" , new JointPreset ( 0f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "Neck" , new JointPreset ( FastMath . QUARTER_PI , - FastMath . QUARTER_PI / 2f , FastMath . QUARTER_PI , - FastMath . QUARTER_PI , FastMath . QUARTER_PI / 2f , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "RightArm" , new JointPreset ( FastMath . QUARTER_PI / 2f , - FastMath . HALF_PI , FastMath . QUARTER_PI , 0 , FastMath . HALF_PI , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "RightForeArm" , new JointPreset ( FastMath . HALF_PI * 1.2f , 0f , FastMath . QUARTER_PI , 0 , 0f , 0f ) ) ; boneMap . put ( "RightHand" , new JointPreset ( FastMath . QUARTER_PI , - FastMath . QUARTER_PI / 2f , 0f , 0f , FastMath . QUARTER_PI / 2f , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "LeftArm" , new JointPreset ( FastMath . QUARTER_PI / 2f , - FastMath . HALF_PI , FastMath . QUARTER_PI , 0 , FastMath . HALF_PI , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "LeftForeArm" , new JointPreset ( FastMath . HALF_PI * 1.2f , 0f , FastMath . QUARTER_PI , 0 , 0f , 0f ) ) ; boneMap . put ( "LeftHand" , new JointPreset ( FastMath . QUARTER_PI , - FastMath . QUARTER_PI / 2f , 0f , 0f , FastMath . QUARTER_PI / 2f , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "Spine1" , new JointPreset ( - FastMath . QUARTER_PI / 8f , - FastMath . QUARTER_PI / 8f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f ) ) ; boneMap . put ( "Spine" , new JointPreset ( - FastMath . QUARTER_PI / 8f , - FastMath . QUARTER_PI / 8f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f ) ) ; boneMap . put ( "LowerBack" , new JointPreset ( - FastMath . QUARTER_PI / 8f , - FastMath . QUARTER_PI / 8f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f , FastMath . QUARTER_PI / 4f , - FastMath . QUARTER_PI / 4f ) ) ; boneMap . put ( "RightUpLeg" , new JointPreset ( FastMath . QUARTER_PI / 2f , - FastMath . QUARTER_PI * 1.6f , 0f , 0f , FastMath . QUARTER_PI , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "RightLeg" , new JointPreset ( FastMath . HALF_PI * 1.2f , 0f , 0f , 0f , 0f , 0f ) ) ; boneMap . put ( "LeftUpLeg" , new JointPreset ( FastMath . QUARTER_PI / 2f , - FastMath . QUARTER_PI * 1.6f , 0f , 0f , FastMath . QUARTER_PI , - FastMath . QUARTER_PI / 2f ) ) ; boneMap . put ( "LeftLeg" , new JointPreset ( FastMath . HALF_PI * 1.2f , 0f , 0f , 0f , 0f , 0f ) ) ; }
@TODO calibrate free-degrees of each bone