Hi,<div><br></div><div>have a look at this presentation I did a while back <a href="http://www.tipodean.com/social/public_speaking.html">https://docs.google.com/present/view?id=dhb2w549_319d4w24cff</a> (slide 18 on ) talking about getting av positions and posting them to a DB that you have hosted on AWS (Amazon EC2). It does not do the direction that the person is facing.</div>

<div><br></div><div>Chris<br><br><div class="gmail_quote">On Wed, Mar 30, 2011 at 5:22 AM, Simon Slavin <span dir="ltr"><<a href="mailto:s.slavin@lancaster.ac.uk">s.slavin@lancaster.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Dear folks,<br>
<br>
OpenSimulator Server  0.6.4.9289 (latest I can run on a Mac), Imprudence client<br>
<br>
We would like to use OpenSim to perform some Psychology experiments.  One of the things I need out of it is the ability to log an avvie's position (and preferably the direction it's facing) to a file on disk.  It would be enough to log these either once per second, or every time the avvie moves more than 2 metres, whichever turns out easiest to program.  The lines must be timestamped, but I'm not fussy what format the time is in, as long as I can interpret it.<br>


<br>
In this same file I would like to be able to be able to have other scripts generate lines, for example "Avvie got within 2 metres of destination.", so it would be nice to have a function I could use in any script which would add a line to this file.<br>


<br>
Ideally a new file would be created with just this information, but if a distinctive piece of text can be added on the appropriate lines, it's okay if this information is put in a file with other log lines (perhaps a debug log file ?), and I will write a script afterwards to extract just the lines I care about.<br>


<br>
I have looked at LSL (I'm almost entirely new to all forms of VR application) but I cannot see a way to log to a text file.  However I'm hoping I missed it.  If this is not possible I might be able to use the HTTP functions, and I will write a web-facing log system in PHP or something.  However, I do not see any examples of how to write the LSL side of this, and it would be a far slower more annoying solution than simply logging positions to a file.<br>


<br>
I would be grateful for any help or pointers anyone can provide.<br>
<br>
Simon.<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>Chris Collins<br>CEO<br>Tipodean Technologies<br>+1 415-515-6928 | <a href="mailto:chris@tipodean.com">chris@tipodean.com</a><br>Skype: cozza13 | SL: Chris Collins<br>

Website: <a href="http://www.tipodean.com">www.tipodean.com</a><br>Twitter: <a href="http://www.twitter.com/tipodean">http://www.twitter.com/tipodean</a><br><a href="http://www.linkedin.com/in/collinschris">http://www.linkedin.com/in/collinschris</a><br>

Tools for your distributed workforce<br>
</div>