1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135

120

APPENDIXC-SAMPLE ANIMATION SCRIPT


#-----------------------------------------------------------------------------
#
# file: human-walk-trials.script
#
# Script to perform basic walking trials
#
#Perform balance trials with up vector RVs
#Trials use Q_d from [0.1,0] to [0.5,0] (Q_d = [Q_d_fwd,Q_d_lat])
#
# balance <#strides> <Q_tol1> <K1_max> <K1_sample> <RV1>:<elem1>\
#<Q_tol2> <K2_max> <K2_sample> <RV2>:<elem2>
#
#<max_strides>- desired # of strides
#
#<Q1_tol>- max. tolerable error in Q for 1st control dimension
#<K1_max>- max final perturbation scaling (dim 1)
#<K1_sample>- sample scalings (+/- K1_sample) (dim 1)
#<RV>:<elem>- RV type and component
#type:
#0 -> up vector
#1 -> stance-COM vector
#2 -> swing-COM vector
#
#component of RV
#0 -> forward component
#1 -> lateral component
#
#<Q_tol2>, <K2_max>, <K2_sample>, <RV2>, <elem2> as above but for 2nd
#control dimension.
#
#-----------------------------------------------------------------------------


< human.bones

set kfspring 25000# floor stiffness (Kp)
set kfdamp1500# floor stiffness (Kd)

set sddt 0.00025# simulation time-step


# base PCG for walking

set pcstates 6

posecycle poses 0
5 0 00 -50 0 60 -5 00 -10 000 070-3055 # r-foot
5 0 00 -50 0 60 -5 00 -10 000 070 -120.2
5 0 00 -20 005 00 -10 000 070 -12 -7.2
5 0 00 -10 000 00 -50 0 60 -5 0-307045 # l-foot
5 0 00 -10 000 00 -50 0 60 -5 0-12070.2
5 0 00 -10 000 00 -20 005 0-12 -770.2

set hinit 0,0,0,0,0,0,0,0,0,-5.1,-20,0,50,0,0,0,0,0,0 # initial pose
# all velocities are 0

[CONVERTED BY MYRMIDON]