diff org/movement.org @ 278:4c07724c4f0a

removed useless code in movement
author Robert McIntyre <rlm@mit.edu>
date Wed, 15 Feb 2012 10:25:54 -0700
parents bded932ef696
children 23aadf376e9d
line wrap: on
line diff
     1.1 --- a/org/movement.org	Wed Feb 15 07:12:03 2012 -0700
     1.2 +++ b/org/movement.org	Wed Feb 15 10:25:54 2012 -0700
     1.3 @@ -16,29 +16,31 @@
     1.4  
     1.5  *(next paragraph is from memory and needs to be checked!)*
     1.6  
     1.7 -In humans, muscles are composed of millions of sarcomeres, which can
     1.8 -contract to exert force. A single motor neuron might control 100-1,000
     1.9 -sarcomeres. When the motor neuron is engaged by the brain, it
    1.10 -activates all of the sarcomeres to which it is attached. Some motor
    1.11 -neurons command many sarcomeres, and some command only a few. The
    1.12 -spinal cord generally engages the motor neurons which control few
    1.13 -sarcomeres before the motor neurons which control many sarcomeres.
    1.14 -This recruitment stragety allows for percise movements at low
    1.15 -strength. The collection of all motor neurons that control a muscle is
    1.16 -called the motor pool. The brain essentially says "activate 30% of the
    1.17 -motor pool" and the spinal cord recruits motor neurons untill 30% are
    1.18 -activated. Since the distribution of power among motor neurons is
    1.19 -unequal and recruitment goes from weakest to strongest, the first 30%
    1.20 -of the motor pool might be 5% of the strength of the muscle.
    1.21 +In humans, muscles are composed of muscle fibers which can contract to
    1.22 +exert force. The muscle fibers which compose a muscle are partitioned
    1.23 +into discrete groups which are each controlled by a single alpha motor
    1.24 +neuton. A single alpha motor neuron might control as little as three
    1.25 +or as many as one thousand muscle fibers. When the alpha motor neuron
    1.26 +is engaged by the spinal cord, it activates all of the muscle fibers
    1.27 +to which it is attached. The spinal cord generally engages the alpha
    1.28 +motor neurons which control few muscle fibers before the motor neurons
    1.29 +which control many muscle fibers.  This recruitment stragety allows
    1.30 +for percise movements at low strength. The collection of all motor
    1.31 +neurons that control a muscle is called the motor pool. The brain
    1.32 +essentially says "activate 30% of the motor pool" and the spinal cord
    1.33 +recruits motor neurons untill 30% are activated. Since the
    1.34 +distribution of power among motor neurons is unequal and recruitment
    1.35 +goes from weakest to strongest, the first 30% of the motor pool might
    1.36 +be 5% of the strength of the muscle.
    1.37  
    1.38  My simulated muscles follow a similiar design: Each muscle is defined
    1.39  by a 1-D array of numbers (the "motor pool"). Each entry in the array
    1.40 -represents a motor neuron which controlls a number of sarcomeres equal
    1.41 -to the value of the entry. A muscle also has a scalar :strength factor
    1.42 -which determines the total force the muscle can exert when all motor
    1.43 -neurons are activated.  The effector function for a muscle takes a
    1.44 -number to index into the motor pool, and that number "activates" all
    1.45 -the motor neurons whose index is lower or equal to the number.  Each
    1.46 +represents a motor neuron which controlls a number of muscle fibers
    1.47 +equal to the value of the entry. Each muscle has a scalar strength
    1.48 +factor which determines the total force the muscle can exert when all
    1.49 +motor neurons are activated.  The effector function for a muscle takes
    1.50 +a number to index into the motor pool, and then "activates" all the
    1.51 +motor neurons whose index is lower or equal to the number.  Each
    1.52  motor-neuron will apply force in proportion to its value in the array.
    1.53  Lower values cause less force.  The lower values can be put at the
    1.54  "beginning" of the 1-D array to simulate the layout of actual human
    1.55 @@ -175,14 +177,12 @@
    1.56  
    1.57  * Adding Touch to the Worm
    1.58  
    1.59 -To the worm, I add a two new nodes which describe a single muscle. 
    1.60 +To the worm, I add two new nodes which describe a single muscle. 
    1.61  
    1.62  #+attr_html: width=755
    1.63  #+caption: The node highlighted in orange is the parent node of all muscles in the worm.  The arrow highlighted in yellow represents the creature's single muscle, which moves the top segment.  The other nodes which are not highlighted are joints, eyes, and ears.
    1.64  [[../images/worm-with-muscle.png]]
    1.65  
    1.66 -
    1.67 -
    1.68  #+begin_src clojure
    1.69  (defn test-movement
    1.70    ([] (test-movement false))
    1.71 @@ -219,11 +219,7 @@
    1.72                          (Vector3f. -4.912815, 2.004171, 0.15710819))
    1.73            (.setRotation (.getCamera world)
    1.74                          (Quaternion. 0.13828252, 0.65516764, 
    1.75 -                                     -0.12370994, 0.7323449))
    1.76 -
    1.77 -          (comment 
    1.78 -            (com.aurellem.capture.Capture/captureVideo
    1.79 -             world (file-str "/home/r/proj/ai-videos/hand"))))
    1.80 +                                     -0.12370994, 0.7323449)))
    1.81          (fn [world tpf]
    1.82            (muscle-display
    1.83             (map #(% @muscle-exertion) muscles)
    1.84 @@ -248,7 +244,6 @@
    1.85  </div>
    1.86  #+end_html
    1.87  
    1.88 -
    1.89  ** Making the Worm Muscles Video
    1.90  #+name: magick7
    1.91  #+begin_src clojure