robsmart.co.uk

Emerging technology, Open Source and the Internet
  • rss
  • Home
  • About
  • Press

Visualizing live shipping data in OpenSim (Isle of Wight Ferries)

Rob Smart | January 22, 2009

A couple of months back i spent some time writing a module for OpenSim, the purpose of this module being to allow you to connect directly to an MQTT messaging server from within the OpenSim scripting language. Thereby enabling real-time Publish Subscribe messaging in a 3d environment.

Adding messaging capability to the scripting language opens up a raft of possibilities for integrating other live systems with in world objects, for previous demonstrations I have implemented chat between virtual worlds and also
synchronous presentations across words and opensim regions amongst other things.

For this one I heard of some live data available from one of our local master inventors Andy Stanford-Clark on the positions of Ferries around the Southampton, Portsmouth and the Isle of Wight. He was publishing these message onto his MQTT microbroker which meant with my module for OpenSim i could show the positions of all the local shipping in near real-time along with the name of the ship and other information like course speed and cargo type.

In order to show this data i first terraformed an island within the IBM opensim grid to look like the Isle of Wight and surrounding sea. I did this by creating an image in photoshop and then using OpenSims terrain import feature. The image was based on a satellite photo of the area.

This is the resulting opensim island

aerial shot of opensim model of the isle of wight, uk

The next step was to write a script for the ships, this script took the description of the object(ferry) it was assigned to and used it to subscribe to the information for that ship. Each description is the pubsub topic for the ship e.g. ferries/Isle Of Wight/Red Cat 1

The script listens for incoming messages then moves the ship object to the correct location on the simulated region by converting latitude and longnitude into an X Y position. It also takes the bearing and makes the ship face in the correct direction.

here’s a couple more shots of the ferries in action

ferries from afar

ferries close up

The Ferries currently live on the IBM internal opensim grid (sorry only accessible to folks inside the IBM firewall :( )

Categories
Tags
gps, opensim
Comments rss
Comments rss
Trackback
Trackback

« XML Parsing in OpenSim: Example – reading RSS feeds Home VOIP system using FreeSwitch and a Linksys 3102 voice gateway (UK Guide) »

10 Responses to “Visualizing live shipping data in OpenSim (Isle of Wight Ferries)”

  1. Chris Sparshott says:
    January 24, 2009 at 3:25 am

    nice!! I will have to go check this out. I grew up in Portsmouth so find this very interesting! Cheers Chris

  2. Mark says:
    January 26, 2009 at 1:40 pm

    Hi Rob! Is that module you´ve written part of the current OpenSim release (0.6.2)?

  3. Julius Sowu (Kwame Oh) says:
    January 26, 2009 at 6:41 pm

    Hi Rob
    That goes straight to a project I was thinking of running, to do with mirroring an event in VW/RL any help in technical details and or hardware needed would be much appreciated.

    I am also willing to collaborate as test bed for using this technology in any future project I can be reached either:

    “RLGoogle maps” http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=The+Greyhound+1+Kensington+Square+W85EP&sll=37.0625,-95.677068&sspn=25.484783,77.695313&ie=UTF8&ll=51.501109,-0.189208&spn=0.002067,0.004828&t=h&z=18

    The Greyhound 1 Kensington Square, London, W85EP, UK (Julius Sowu)

    SL http://slurl.com/secondlife/Kensington%20W8%20London/126/62/143 “roughly same hight as google map”
    The Greyhound 1 Kensington Square, London,

    Have a look and let me know Best wishes Julius Sowu

    julius@virtually-london.com

  4. Rob says:
    January 27, 2009 at 2:34 pm

    @Mark I’m afraid at the moment it has some proprietary code in to connect to the message broker which can’t be released into the main OpenSim code base, I am however looking for a c# XMPP library that i could implement the same function with, so far though my search for a BSD or similar non GPL licensed XMPP library has been without much success.

  5. People Meet People Meet Big Data: ScienceSim Explores Collaborative High Performance Computing | UgoTrade says:
    February 11, 2009 at 11:40 pm

    [...] user interface limitations. Tish: Yes Rob Smart’s (IBM) recent data integrations with OpenSim (see here) are impressive. Re viewers one of the biggest objections to virtual worlds is the mouse pushing [...]

  6. rightasrain says:
    April 1, 2009 at 4:10 pm

    Rob–you a big tease then! open = share ;)

  7. infinity linden says:
    June 1, 2009 at 7:08 pm

    this is the coolest thing i’ve seen in a while. i’ve got to work faster so stuff like this is easier to do with our next generation systems.

  8. Corey Leong (coreyleong) 's status on Tuesday, 06-Oct-09 14:39:53 UTC - Identi.ca says:
    October 6, 2009 at 3:40 pm

    [...] http://robsmart.co.uk/2009/01/22/visualizing-live-shipping-data-in-opensim-isle-of-wight-ferries/ a few seconds ago from xmpp [...]

  9. Community-Chest » Bookmarks for novembre 12th through novembre 13th says:
    November 13, 2009 at 5:27 pm

    [...] Naked Imagination · Visualizing live shipping data in OpenSim (Isle of Wight Ferries) – Emerging technology, Virtual Worlds and Cultural Observations [...]

  10. Merrill says:
    July 30, 2011 at 3:04 am

    Thanks Rob. This is very cool stuff indeed.

Leave a Reply

Click here to cancel reply.

Tags

3d aberdeen anime api arabic art avatar c# drawing environment ets ets hursley ibm press flickr google hursley ibm ibm hursley ets rockets filming photography image processing jeddah lsl machinima openid opensim pervasive photography press saudi scripting secondlife security simile sony home streaming timeline transliteration twister video virtualworlds virtualworlds secondlife ibm linden wacom wacom concept art deviantart graphics wave power weather web 2.0 webmaster

  • Andy Piper
  • Dale Lane
  • Darren Shaw
  • Eightbar
  • Feeding Edge
  • Gareth Jones
  • Hannah Parker
  • Ian Hughes
  • Ian Smith
  • Irving Wladawsky-Berger
  • James Taylor
  • John Tolva
  • Kelly Smith
  • Martin Gale
  • Michael Rowe
  • Michael Rowe
  • Mo Hax
  • Nick O’Leary
  • Penny Glazzard – Zzing marketing
  • Pranab Sharma
  • Rita J. King
  • Roo Reynolds
  • Rosemary Gardening

  • Photography

Twitter feed

  • No public Twitter messages.

Recent Comments

  • www.youtube.com on The Challenges of writing an OpenSim client in Unity3D
  • Paul on Home VOIP system using FreeSwitch and a Linksys 3102 voice gateway (UK Guide)
  • Check my reference on Home VOIP system using FreeSwitch and a Linksys 3102 voice gateway (UK Guide)
  • l on Google ate my blog
  • speech writing on The Challenges of writing an OpenSim client in Unity3D
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox