Changes between Initial Version and Version 1 of Bindings


Ignore:
Timestamp:
12/10/12 16:25:57 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bindings

    v1 v1  
     1= Bindings = 
     2A binding provides an XML description of the mapping from a BML behavior to one or more units on the motor plan. While bindings are in principle Engine-dependent, several shared concepts occur in multiple bindings. 
     3 
     4== Spec == 
     5A binding contains different specs, each mapping from a BML behavior with certain properties to one or more motor units. 
     6 
     7== type == 
     8Each spec has a type, which specifies from which BML behavior type it maps (e.g. gesture, faceFacs, ..). 
     9 
     10== constraints == 
     11Constraints specify which BML behavior parameters should be satisfied to bind this specific spec to a BML behavior 
     12 
     13For example: 
     14{{{ 
     15<FaceUnitSpec type="faceLexeme"> 
     16  <constraints> 
     17    <constraint name="lexeme" value="smilemouth"/> 
     18  </constraints> 
     19  ... 
     20<FaceUnitSpec> 
     21}}} 
     22binds this spec to a BML behavior 
     23{{{ 
     24<faceLexeme lexeme="smilemouth" ... /> 
     25}}} 
     26 
     27A namespace attribute can be used in constraint to refer to parameters in an external namespace (that is: not the default bml 1.0 http://www.bml-initiative.org/bml/bml-1.0 namespace). 
     28 
     29For example: 
     30{{{ 
     31<MotionUnitSpec type="gaze"> 
     32  <constraints> 
     33    <constraint name="influence" value="EYES"/>  
     34    <constraint namespace="http://hmi.ewi.utwente.nl/bmlt" name="dynamic" value="true"/>                         
     35  </constraints>  
     36}}} 
     37binds this spec to a BML behavior 
     38{{{ 
     39<gaze xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" influence="EYES" bmlt:dynamic="true"... /> 
     40}}}