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

18

Thedynamics code, together with code implementing the ground model, basic pose

motion.

control and the balance control formulation of Chapter 3 is then compiled into the simulator

executable.

The

control

script

provides

the

particular

control

parameters

for

the

desired

simulation. Sample control scripts can be found in Appendices B and C.

The primary outputs of

each simulation are the final balanced motion of the creature and the aperiodic PCG which was

ultimately responsible for generating it.

Note that the resulting aperiodic PCG output provides

open loop control.

It is therefore only reusable given an identical initial state.

In essence it is a

record of the applied control actions for the motion, already complete with feedback actions.


The dynamics compiler used is a commercially available software package [SDFAST].

The

animation environment currently supports the simulation

and

control

of

a

single

articulated

creature consisting of rigid links in a tree structure with rotary joints of up to 3 DOF each and no

joint limits. Each DOF has individual PD constants which remain fixed for the entire simulation.

Collision forces due to interpenetration of the links of the articulated figure are not simulated.

The equations of motion are integrated using

a

fixed

time

step,

fourth

order

Runge-Kutta

integrator which is part of the dynamics compiler software.

Performance of the simulator varies

with model complexity with the most complex human model (described in Section 2.5) requiring

approximately 1 minute of wall clock time to compute 1 second of simulated motion on a Sun

Sparkstation 10. The use of a fixed integration time step has a significant impact on performance

since the worst-case (i.e. smallest) time step for the complete simulation must be used.

It is

estimated that the use of a variable integration time step could improve performance by a factor of

5-10. Recorded simulation results can be played back in real-time on a Silicon Graphics Indigo2

Workstation with GR3-XZ graphics hardware.

using the SGI-GL graphics library.

Display functions are implemented using the

[CONVERTED BY MYRMIDON]