DrawRobot:

--------------------------------------------------------------------------
   Draw a robot.

   This uses the data structure created with RHSRobotInitialize.m. You
   need to define the following parameters in RHSRobotInitialize.m 
   to use this routine:

   'robot name'
   'name'
   'radius'
   'parent'
   'state'
   'link vector'
   'hinge'
   'transformation matrix'

   Type DrawRobot for a demo.

--------------------------------------------------------------------------
   Form:
   m = DrawRobot( action, varargin )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action      (1,:) 'initialize', 'update' or 'close'

   'initialize'
	h           (1,1) Data structure

   'update'
	x           (:,1) State
   h           (:,1) Data structure
   tPause      (1,1) Time to pause between updates (sec)

   'close'

   -------
   Outputs
   -------
   m           (1,:) If there is an output it makes a movie

--------------------------------------------------------------------------

Children:

Common: Graphics/Frustrum
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Q2Mat
Common: Quaternion/U2Q
Dynamics: Robotics/RHSRobotInitialize
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit