Showing
2 changed files
with
7 additions
and
3 deletions
... | @@ -38,4 +38,8 @@ | ... | @@ -38,4 +38,8 @@ |
38 | + txt파일 하나마다 한 동작, count를 적용 | 38 | + txt파일 하나마다 한 동작, count를 적용 |
39 | + txt파일에 정리된 Kinect 값은 데이터 전처리를 통해 적당하게 움직이도록 미리 제작 | 39 | + txt파일에 정리된 Kinect 값은 데이터 전처리를 통해 적당하게 움직이도록 미리 제작 |
40 | 40 | ||
41 | - | 41 | +### 코드 활용방법 |
42 | +1. Unity를 이용하여 Assets파일 위치에서 Unity Project Open | ||
43 | +2. Script폴더에 있는 c#파일들을 Code editor를 이용해 Open | ||
44 | +3. Kinect는 Kinect SDK설치 후 USB3.0을 이용하여 연결 (Intel CPU 7세대에서 오류 발생, 8세대 이상 권장) | ||
45 | +4. Unity 실행 시 항상 Kinect studio 또는 Configuration 실행 권장 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -31,7 +31,7 @@ public class Move : MonoBehaviour | ... | @@ -31,7 +31,7 @@ public class Move : MonoBehaviour |
31 | public bool move = true; | 31 | public bool move = true; |
32 | private System.IntPtr kinect; | 32 | private System.IntPtr kinect; |
33 | 33 | ||
34 | - //lsy | 34 | + //trainer |
35 | public string[] lines; | 35 | public string[] lines; |
36 | public string[] lines_right; | 36 | public string[] lines_right; |
37 | public int trainer_i = -1; | 37 | public int trainer_i = -1; |
... | @@ -45,7 +45,7 @@ public class Move : MonoBehaviour | ... | @@ -45,7 +45,7 @@ public class Move : MonoBehaviour |
45 | public float trainer_timer = 0; | 45 | public float trainer_timer = 0; |
46 | public bool trainer_other_side = false; | 46 | public bool trainer_other_side = false; |
47 | public int trainer_speed = 0; | 47 | public int trainer_speed = 0; |
48 | - //lsy end | 48 | + //trainer == |
49 | 49 | ||
50 | public Text AngleLeftKnee; | 50 | public Text AngleLeftKnee; |
51 | public Text AngleRightKnee; | 51 | public Text AngleRightKnee; | ... | ... |
-
Please register or login to post a comment