Changes between Version 31 and Version 32 of MiddleWareConnection


Ignore:
Timestamp:
10/28/12 20:51:01 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MiddleWareConnection

    v31 v32  
    348348} 
    349349}}} 
     350 
     351=== Trying out the rsb adapters === 
     352AsapDemo/AsapRealizerDemo contains two programs that can be used to try out the created adapters and the loader. !AsapRealizerDemo can be used to set up an !AsapRealizer connected to rsb. To do this, hook up the !RsbToBMLRealizerAdapterLoader to a VirtualHumanSpec: 
     353{{{ 
     354<AsapVirtualHuman> 
     355  <Loader id="realizer" loader="asap.realizerembodiments.AsapRealizerEmbodiment"> 
     356    <BMLParser> 
     357      <BMLAttributeExtension class="asap.bml.ext.bmlb.BMLBBMLBehaviorAttributes"/> 
     358      <BMLAttributeExtension class="asap.bml.ext.bmlt.BMLTBMLBehaviorAttributes"/> 
     359    </BMLParser> 
     360         
     361    <BMLScheduler> 
     362      <SchedulingHandler class="asap.realizer.scheduler.BMLBandTSchedulingHandler" schedulingStrategy="asap.realizer.scheduler.SortedSmartBodySchedulingStrategy"/> 
     363    </BMLScheduler> 
     364    <PipeLoader id="pipe" loader="asap.rsbadapters.loader.RsbToBMLRealizerAdapterLoader"/> 
     365  </Loader> 
     366  ... 
     367</AsapVirtualHuman> 
     368}}} 
     369And run AsapRealizerDemo with this spec: 
     370{{{ 
     371ant run -Drun.argline="specname.xml" -Drun.main.class="asap.realizerdemo.AsapRealizerDemo" 
     372}}} 
     373 
     374Run a !AsapRealizerPortUIDemo with the !BMLRealizerToRsbAdapter as follows: 
     375{{{ 
     376ant run -Drun.argline="asap.rsbadapters.BMLRealizerToRsbAdapter" -Drun.main.class="asap.realizerdemo.AsapRealizerPortUIDemo" 
     377}}} 
     378 
     379The !AsapRealizerPortUIDemo is now connect to the !AsapRealizer through rsb.