[Opensim-dev] Controlling bots on server side

Olli Aro olli_aro at yahoo.co.uk
Wed May 19 13:14:44 UTC 2010


It was a bespoken project, so not able to release the source code.

However the principle was that we built a generic purpose web service
interface:

1) to login the robots
2) to move them around

Then any 3rd party system could just connect to the web service with their
data in order to move the avatar in-world.

Now we used this for mapping the human movement in a real life space to
virtual world space.

Clearly your 3rd party application must be able to translate the real life
coordinates to the virtual world coordinates. So, in case of your mobile
phone application (e.g. an iphone) you would have an application running on
the phone that would detect the real time movement, translate this to the
equivalent movement required in-world and then connect to the web service in
order to move the robot.

Regards,

Olli

> -----Original Message-----
> From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
> bounces at lists.berlios.de] On Behalf Of Jeroen van Veen
> Sent: 19 May 2010 14:03
> To: opensim-dev at lists.berlios.de
> Subject: [Bulk] Re: [Opensim-dev] Controlling bots on server side
> 
> Were you using some gps library for that? And is it open source? Would
> be nice
> to learn from it.
> 
> kind regards,
> 
> Jeroen
> 
> On Wednesday 19 May 2010 12:50:29 Olli Aro wrote:
> > We have done similar applications by having a .Net web service for
> the
> > robot (using the client library) and then remote system (such as your
> > mobile phone) calling that in order to move the robot.
> >
> > Regards,
> >
> > Olli
> >
> > > -----Original Message-----
> > > From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
> > > bounces at lists.berlios.de] On Behalf Of Jeroen van Veen
> > > Sent: 19 May 2010 08:50
> > > To: opensim-dev at lists.berlios.de
> > > Subject: Re: [Opensim-dev] Controlling bots on server side
> > >
> > > Would be nice to have a serverside bot yes. For this city
> simulation
> > > project
> > > i'm working on, i would need a bot that can be controlled through a
> > > mobile
> > > phone. Having a bot that can be steered through a webapi may make
> that
> > > somewhat easier. Could a regionmodule be used for this maybe?
> > >
> > > Jeroen
> > >
> > > On Wednesday 19 May 2010 07:52:13 it at nii.ac.jp wrote:
> > > > I mean, something is disturbing me, bots do not need to be
> client,
> > >
> > > and it
> > >
> > > > appears that everytime we hear about bot on Opensim, they are all
> > >
> > > using
> > >
> > > > OpenMetarverse to emulate a client connexion. Is there any way to
> > >
> > > create
> > >
> > > > bots on the server Side ?
> > > >
> > > > Thanks to every people that could answer
> > > >
> > > >
> > > > Good morning,
> > > >
> > > > Thank you for this answer, I had a look at this IClientApi, and
> it
> > >
> > > seems
> > >
> > > > that the Scenepresence Object has a IClientApi as an attribute
> > >
> > > (IClientApi
> > >
> > > > 'ControllingClient').
> > > >
> > > > This IClientApi enable many commands (thank you for your help),
> but,
> > >
> > > the
> > >
> > > > issue is how to Login an Avatar with this. Indeed, it seems that
> you
> > >
> > > could
> > >
> > > > retrieve the presence (Scenepresence) of an Avatar which is
> already
> > >
> > > logged
> > >
> > > > on the server, but how to define it for an Avatar which is not
> logged
> > >
> > > yet
> > >
> > > > ? and then, what IClientApi method (if there is one) enable to
> log it
> > >
> > > in ?
> > >
> > > > Thank you again Mr. Justin Clark Casey
> > > >
> > > > it at nii.ac.jp wrote:
> > > > > Hi
> > > > >
> > > > >
> > > > > Many thanks for this very useful link, but I have an IMPORTANT
> > >
> > > question
> > >
> > > > > about controling BOTS.
> > > > >
> > > > > Is it possible to control bots without using openmetaverse.
> > > > > I mean, the GridClient Object from OpenMetaverse require a
> client-
> > >
> > > server
> > >
> > > > > connection
> > > > >
> > > > > Is there any way to control a bot using opensim directly ?
> > > > > (using only the scenepresence Object)
> > > >
> > > > You might want to look at the pCampBot assembly in OpenSim itself
> > >
> > > which
> > >
> > > > actually does this for simple bots.  It looks like this is done
> > >
> > > through
> > >
> > > > IClientApi rather than manipulating ScenePresence directly.
> > >
> > > _______________________________________________
> > > Opensim-dev mailing list
> > > Opensim-dev at lists.berlios.de
> > > https://lists.berlios.de/mailman/listinfo/opensim-dev
> >
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> _______________________________________________
> 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