The protocol between the sim and the viewer allows for clients to initiate and stop animation sequences. There are packets defined for it, and I believe they are the basis for "client side animation overriders" that are a feature of many third-party viewers. You should be able to modify a viewer to send these packets at will and your avatar should respond as soon as the sim is able to relay the packet, provided the sequence you specified has been downloaded and cached by the viewer. Otherwise there will be a short delay while the viewer requests and downloads the sequence.<div>
<br></div><div>Other possibilities exist also: a LSL script in an attachment worn by the avatar can control the animations played by that avatar, and could also use repeating long-poll http queries to your computer where the kinect box is connected to receive animation commands and then tell the avatar to play them. Another means may be to have a plug-in packet injector for the GridProxy program that comes with libomv 
<a href="http://openmetaverse.org/">http://openmetaverse.org/</a>  which could either send animation packets, or send chat commands to a script worn by the avatar which could then start animations.</div><div><br></div><div>
Any of these solutions should work for either SL or unmodified OpenSim installations. None of them are probably considered "production quality" but they could get you to the point where you have a reasonably functional solution.<br>
<br><div class="gmail_quote">On Tue, Feb 21, 2012 at 9:54 AM, Georg Janke <span dir="ltr"><<a href="mailto:djs_fan_and_freak@web.de">djs_fan_and_freak@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="DE" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span lang="EN-US">Hello developers of OpenSim!<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">My Name is Georg and would be very happy if
you could answer my question. <u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Short description of what my aim is:<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">I am working on a application that is able
to recognize gestures from a Kinect controller. With the help of this I want to
control an avatar in OpenSim. So I have the recognition application and OpenSim
running parallel on the client pc. The database on the OpenSim server contains
the appropriate animations for the gestures.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Question:<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Does OpenSim has a suitable interface that
my application can use to tell OpenSim it has recognized a certain gesture and thus
controlling the avatar to perform the appropriate animation from the database?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Thanks for reading,<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Georg<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

</div>

</div>


<br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div>