Hi, have a look at this presentation I did a while back https://docs.google.com/present/view?id=dhb2w549_319d4w24cff<http://www.tipodean.com/social/public_speaking.html> (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.
Chris On Wed, Mar 30, 2011 at 5:22 AM, Simon Slavin <[email protected]>wrote: > Dear folks, > > OpenSimulator Server 0.6.4.9289 (latest I can run on a Mac), Imprudence > client > > 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. > > 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. > > 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. > > 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. > > I would be grateful for any help or pointers anyone can provide. > > Simon. > _______________________________________________ > Opensim-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-users > -- -- Chris Collins CEO Tipodean Technologies +1 415-515-6928 | [email protected] Skype: cozza13 | SL: Chris Collins Website: www.tipodean.com Twitter: http://www.twitter.com/tipodean http://www.linkedin.com/in/collinschris Tools for your distributed workforce
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
