[Opensim-dev] interfaces to opensim for sensor network data

Olli Aro olli_aro at yahoo.co.uk
Wed Nov 24 21:16:54 UTC 2010


Also to add... You probably already have a way to make the data available
from your sensors for OpenSim to process it, but if not this is quite handy
as "middleware":

http://www.pachube.com/

Regards,

Olli

-----Original Message-----
From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Kevin Cozens
Sent: 24 November 2010 17:26
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] interfaces to opensim for sensor network data

CJ Davies wrote:
> Can anybody link me to any information on what available interfaces 
> there are for presenting the sensor data to opensim?

Sounds like an interesting and fun project.

The easiest way to get the sensor data in to opensim is to have an inworld
script that polls an external webserver. The polling rate you would need
would depend on how quickly you want the virtual world to respond to events
in the real world.

A similar but slightly better way to do this is to use an inworld script
that listens for data via an http connection. There are a couple of
advantages to this. The inworld scripts will be mostly idle (minimizing
their impact on the server load) while waiting for data vs. constantly
polling for data and having to parse the data to see what might have
changed. It would also make the inworld scripts more responsive to real
world events. As soon as new sensor data was available it can be pushed to
opensim and the waiting scripts would "wake up" to process the incoming
data.

--
Cheers!

Kevin.

http://www.ve3syb.ca/           |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172      |"Same thing we always do, Pinkutus:
                                 |  Try to assimilate the world!"
#include <disclaimer/favourite> |              -Pinkutus & the Borg
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev




More information about the Opensim-dev mailing list