Mercurial > cortex
diff org/proprioception.org @ 321:702b5c78c2de
gathered all the tests into (run-suite), which should make testing vastly easier.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 08 May 2012 08:22:19 -0500 |
parents | bb3f8a4af87f |
children | 4f5a5d5f1613 |
line wrap: on
line diff
1.1 --- a/org/proprioception.org Thu Mar 01 06:24:17 2012 -0700 1.2 +++ b/org/proprioception.org Tue May 08 08:22:19 2012 -0500 1.3 @@ -217,11 +217,23 @@ 1.4 1.5 (defn test-proprioception 1.6 "Testing proprioception: 1.7 - You should see two floating bars, and a printout of pitch, yaw, and 1.8 - roll. Pressing key-r/key-t should move the blue bar up and down and 1.9 - change only the value of pitch. key-f/key-g moves it side to side 1.10 - and changes yaw. key-v/key-b will spin the blue segment clockwise 1.11 - and counterclockwise, and only affect roll." 1.12 + You should see two floating bars, and a display of pitch, yaw, and 1.13 + roll. The white dot measures pitch (spin around the long axis), the 1.14 + green dot measures yaw (in this case, rotation around a circle 1.15 + perpendicular to your line of view), and the red dot measures 1.16 + roll (rotation around a circle perlendicular to the the other two 1.17 + circles). 1.18 + 1.19 + Keys: 1.20 + r : rotate along long axis 1.21 + t : opposite direction of rotation as <r> 1.22 + 1.23 + f : rotate in field of view 1.24 + g : opposite direction of rotation as <f> 1.25 + 1.26 + v : rotate in final direction 1.27 + b : opposite direction of rotation as <v>" 1.28 + 1.29 ([] (test-proprioception false)) 1.30 ([record?] 1.31 (let [hand (box 0.2 1 0.2 :position (Vector3f. 0 0 0)