changeset 258:f4b67005b702

reorganized proprioception
author Robert McIntyre <rlm@mit.edu>
date Tue, 14 Feb 2012 00:39:16 -0700
parents 5d7961d7fded
children 7cac5ef852e3
files org/proprioception.org
diffstat 1 files changed, 19 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/org/proprioception.org	Tue Feb 14 00:37:42 2012 -0700
     1.2 +++ b/org/proprioception.org	Tue Feb 14 00:39:16 2012 -0700
     1.3 @@ -37,7 +37,6 @@
     1.4  
     1.5  * Helper Functions
     1.6  
     1.7 -
     1.8  #+name: helpers
     1.9  #+begin_src clojure
    1.10  (in-ns 'cortex.proprioception)
    1.11 @@ -59,6 +58,8 @@
    1.12        angle (- (* 2 Math/PI) angle))))
    1.13  #+end_src
    1.14  
    1.15 +* Proprioception Kernel
    1.16 +
    1.17  #+name: proprioception
    1.18  #+begin_src clojure
    1.19  (defn proprioception-kernel
    1.20 @@ -112,6 +113,8 @@
    1.21        (map #(%) senses))))
    1.22  #+end_src
    1.23  
    1.24 +* Visualizing Proprioception
    1.25 +
    1.26  #+name: visualize
    1.27  #+begin_src clojure 
    1.28  (in-ns 'cortex.proprioception)
    1.29 @@ -174,19 +177,7 @@
    1.30    (view-sense proprioception-display-kernel))
    1.31  #+end_src
    1.32  
    1.33 -#+name: proprioception-header
    1.34 -#+begin_src clojure
    1.35 -(ns cortex.proprioception
    1.36 -  "Simulate the sense of proprioception (ability to detect the
    1.37 -  relative positions of body parts with repsect to other body parts)
    1.38 -  in jMonkeyEngine3. Reads specially prepared blender files to
    1.39 -  automatically generate proprioceptive senses."
    1.40 -  (:use (cortex world util sense body))
    1.41 -  (:use clojure.contrib.def)
    1.42 -  (:import com.jme3.scene.Node)
    1.43 -  (:import java.awt.image.BufferedImage)
    1.44 -  (:import (com.jme3.math Vector3f Quaternion)))
    1.45 -#+end_src
    1.46 +* Demonstration of Proprioception
    1.47  
    1.48  #+name: test-body
    1.49  #+begin_src clojure
    1.50 @@ -278,7 +269,21 @@
    1.51              (set-gravity world (Vector3f. 0 0 0))
    1.52              (light-up-everything world))
    1.53            (fn [_ _] (prop-view (list (prop))))]))))))
    1.54 +#+end_src
    1.55  
    1.56 +* Headers
    1.57 +#+name: proprioception-header
    1.58 +#+begin_src clojure
    1.59 +(ns cortex.proprioception
    1.60 +  "Simulate the sense of proprioception (ability to detect the
    1.61 +  relative positions of body parts with repsect to other body parts)
    1.62 +  in jMonkeyEngine3. Reads specially prepared blender files to
    1.63 +  automatically generate proprioceptive senses."
    1.64 +  (:use (cortex world util sense body))
    1.65 +  (:use clojure.contrib.def)
    1.66 +  (:import com.jme3.scene.Node)
    1.67 +  (:import java.awt.image.BufferedImage)
    1.68 +  (:import (com.jme3.math Vector3f Quaternion)))
    1.69  #+end_src
    1.70  
    1.71