ArticulatedSocialAgentsPlatform / AsapExamples

GNU Lesser General Public License v3.0
2 stars 1 forks source link

Fix default bmls #2

Open herwinvw opened 8 years ago

herwinvw commented 8 years ago
herwinvw commented 8 years ago

procanimation alternative:

<bml xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" xmlns="http://www.bml-initiative.org/bml/bml-1.0" id="bml1">
  <bmlt:procanimation name="headbob" id="hb1">   
    <bmlt:parameter name="amountA" value="0.1"/>
    <bmlt:parameter name="amountB" value="0.1"/>
    <bmlt:parameter name="repeats" value="3"/>
  </bmlt:procanimation>  
</bml>
herwinvw commented 8 years ago

Improved gaze and speech:

<!--
A fragment of aligned verbal and nonverbal behavior

-->
<bml xmlns="http://www.bml-initiative.org/bml/bml-1.0"  xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" id="bml1">
<speech id = "bluespeech" start="gaze2:end">
  <text>I'm staring at the blue cube.</text>
    </speech>
    <speech id = "greenspeech" start="gaze1:start">
  <text>Look! A green sphere.</text>
    </speech>
    <speech id = "bluespeech2" start="gaze1:end">
  <text>Looking at the blue cube again.</text>
    </speech>
    <gaze id="gaze1" bmlt:dynamic="true" start="4" ready="5" relax="6" end="7" influence="NECK" target="greensphere"/>      
    <gazeShift id="gaze2" start="1" end="2" influence="NECK" target="bluebox"/> 
</bml>

This has some twitch in movement though...