Version 21 (modified by welberge, 7 years ago) (diff)


Using AsapRealizer with Ipaaca

AsapRealizer can be connected to Billie's rendering environment in Ogre through Ipaaca, can execute Ipaaca BML messages and can provide BML feedback using Ipaaca messages.


Setup the soa build script and create a top-level project dir as described here:

Connecting Ipaaca to the Ogre rendering environment

  1. Install AsapRealizer as described in the QuickStart
  2. Clone the soagents_asap and billie_asap from /homes/hvanwelbergen/git_pool:
    git clone /homes/hvanwelbergen/git_pool/soagents_asap
    git clone /homes/hvanwelbergen/git_pool/billie_asap
  3. Clone rsb, ipaaca and ace2
    soa clone rsb
    soa clone ipaaca
    soa clone ace2
  4. Build billie_asap; in the billie_asap dir
    soa build-all
  5. Unpack billie_asap/dist/ in the same directory and make sure that all binaries are runnable billie_asap/dist/bin/ (TODO: how to setup the build system so that this is not needed??)
    chmod 750 bin/*
  6. Start spread:
    spread -n localhost
  7. Run billie from the resource dir


Submitting and receiving BML through Ipaaca

  1. Install AsapRealizer as described in the QuickStart
  2. Setup a VirtualHumanLoader xml file that uses an IpaacaToBMLRealizerAdapterLoader. An example configuration is provided in AsapDemo/AsapRealizerDemo/java/resource/asaparmandiaipaacaport.xml. To set up/configure your own use:
      <Loader id="realizer" loader="asap.realizerembodiments.AsapRealizerEmbodiment">
        <PipeLoader id="pipe" loader="asap.ipaacaadapters.loader.IpaacaToBMLRealizerAdapterLoader"/>
  3. Start spread:
    spread -n localhost
  4. Run the AsapRealizerDemo with the newly defined xml
    ant run -Drun.argline="asaparmandiaipaacaport.xml"
  5. The realizer is now ready to receive and submit Ipaaca BML messages. The demo programs in java/src/asap/realizerdemo/ and python/src/asap_realizerdemo/ show how to submit BML and receive BML feedback in java and python respectively.
  6. To start the python demo; in the python subdir: [TODO: this probably doesn't work without the python spread library installed.]
    ant resolve
    ant main #select asap_realizerdemo/
    ant run
  1. To start the java demo; in the java subdir:
    ant main #select asap.realizerdemo.AsapRealizerPortToIpaacaDemo
    ant run