Discovery Trials – Mill Road Cambridge

The OTIH project team, with the help of many others, performed a major set of in-situ trials using a new iteration of our system and infrastructure during May. The aim of the project was to use OTIH technologies to engage several diverse groups from the local community with the Mill Road Cemetery site in Cambridge. Continue reading

Posted in Out There In Here, Uncategorized | Tagged , , , , | Leave a comment

Discovery: New project with Mill Road Cemetery in Cambridge

Mill Road Cemetery

Mill Road (Photo by Kip Loades)

Building on the knowledge gained from our previous trials, we are planning a new iteration of the OTIH system with a different collaborative activity. This has been inspired by exciting discussions with a group of people aiming to improve public engagement with the Mill Road Cemetery in Cambridge. We were introduced to this group through Yvonne by our friends at Stride Design. This stage of OTIH will be developed with the help of Dr. Estefanía Martín and Dr. Pablo A. Haya, who are visiting the Pervasive Interaction Lab until the end of May. Continue reading

Posted in Out There In Here, Research | Tagged , , , , | 1 Comment

GPS Accuracy repeated tests with and without internet access

Following on from the GPS accuracy tests carried out on the roof of the OU Biology building, we’ve been doing a set of tests on the balcony of the Knowledge Media Institute (KMI). We’ve tried as far as possible to do a comparable set of tests. The KMI balcony is on the top floor of the building and faces south(ish), the wall of the building blocks part of the sky, but only part of it.

Figure 2. KMI balcony from below showing secured shelf during testing.

Figure 2. KMI balcony from below showing secured shelf during testing.

Figure 1. Secured shelf on the KMI balcony showing marked positions for devices.

Figure 1. Secured shelf on the KMI balcony showing marked positions for devices.

An upturned bookshelf is g-clamped to the railings of the balcony and nine positions (10 cm apart) are marked along the middle of it. The GPS devices can then be placed on any of the nine positions and are held in place either by an elastic shock cord or gaffer tape. The Android phones are put in ‘Aquapac’ waterproof bags which are also tied to the cords on the shelf in case they fall.

Continue reading

Posted in GPS | Tagged , | 2 Comments

Accessing WordPress Blog Content from Other Applications

We are testing the potential to use WordPress as a simple method for mobile information input and management across distributed devices (see cratos.open.ac.uk/wordpress ). Whilst we have previously used Drupal for this purpose, WordPress is easy to set up and use, and requires less development time to do the basics. It also has a lot of plugins available to do things that might be useful as we expand the activities the OTIH system is used in.

It is therefore important to explore approaches to get the content out of a WordPress blog, in order to use it in other applications (e.g. in a C# & WPF application for the Microsoft Surface). There are WordPress APIs, which include functionality for things such as HTTP requests for data. However, one easy option, given that we the server hosting the WordPress site is on the same network as the Surface, is to run MySQL queries directly to the database hosting the blog. This page gives an overview of the database structure installed with WordPress. Continue reading

Posted in Development, Out There In Here | Tagged , , | Leave a comment

GPS accuracy on Android phones

Dr Mike Dodds from the OU’s Biology Department has been investigating the accuracy of GPS devices for ecology surveying and has helped us with testing the GPS accuracy of our phones. One of Mike’s approaches is to compare the accuracy of a range of GPS devices over a few hours when placed at a (known) fixed location. Interestingly, the accuracy of the GPS devices changes throughout the day as different satellites can be picked up by the devices. Given this variation, recording the location data from different devices for a known location over a few hours enables us to compare their accuracy.

Continue reading

Posted in Development, GPS, Out There In Here | Tagged , , | 2 Comments

GPS accuracy testing at 0 degrees East

…When East Isn’t East.
Where better to test the accuracy and resoution of your GPS devices than the agreed ‘Prime Meridian of the World’ at the Royal Observatory in Greenwich, where east meets west at zero degrees of longitude? I thought that if I was to place a GPS reciever on the handily marked meridian line, I would easily be able to see how close the reading would come to zero degrees in one axis. I could then compare the results of the built-in GPS receiver in the Nexus One handset (same chipset as the HTC Desire – a Qualcomm gpsOne)  with the Nokia LD-3W bluetooth GPS with EGNOS (see previous post), and use this as a baseline for further testing as improved GPS units become available. This would also be an opportunity to compare the results from the tried and trusted ‘GPS Status‘ application with the new ‘GPS Averaging‘ application.

Continue reading

Posted in Out There In Here, Research | Tagged , , , | 3 Comments

Improving GPS accuracy with EGNOS

One of the things we learned from our field trials this August was that the on-board GPS in our Android phones (HTC Desire, Nexus One) doesn’t resolve position as accurately as we’d like, often only achieving a 10m ‘accuracy’ (as measured in the application ‘GPS Status‘ – I suspect that this bases its information on how many satellites it can ‘see’). It would appear that the GPS of the HTC Desire is integrated into the Qualcomm Snapdragon chipset (Qualcomm gpsOne). In 2009, a new method of improving GPS accuracy was unveiled by the European Space Agency: a differential annexe to the GPS signal broadcast across Europe called EGNOS. EGNOS broadcasts a stream of correction advice to any EGNOS-enabled GPS receiver within its footprint. The correction advice consists of ephemeris information such as expected sunspot and atmospheric activity which detracts from GPS performance. GPS devices with EGNOS assistance are reported to commonly achieve accuracies between 1-2.5m.  Continue reading

Posted in Out There In Here, Research | Tagged , , , , , | 2 Comments

Field Trials at Coombs Quarry.

For Out There and In Here’s first major field trials on August 23rd and 27th, we visited Coombs Quarry. Our ‘Out There’ teams examined the stone at Old Thornborough Bridge and reported back to the waiting ‘In Here’ team by phone and sent photos illustrating the geology and location of the site. Whilst the ‘In Here’ team were examining this data, adding their own interenet research findings to the ‘In Here’ server and developing hypotheses to be shared and voted on, the ‘Out There’ walked through the fields to the Quarry site itself. When OTIH’s local wifi network was set up again (this takes around 15-30 minutes with 2 technicians) and connected to the internet using a Billion 3G router, the ‘Out There’ students examined the data from ‘In Here’, examined and voted on the hypotheses on the project page, then set about a detailed study of the quarry, sharing photos and collaborating via instant messaging with the ‘In Here’ students. Continue reading

Posted in Out There In Here, Research | Tagged , , , | Leave a comment

1st OTIH Field Trials

After several months of development, two full day field trials using the OTIH system were held at the end of August. In both cases four students and a tutor spent a day working in the ‘In Here’ room (hosted at IET’s Ambient Lab), while five or six students along with a tutor visited Coombs Quarry near Buckingham.

Using the Tabletop Application To View Photos

In Here: Using the Tabletop to View Photos

Mobile broadband was used to provide a connection between the local networks at each site. We learnt a great deal from both trials, and managed to get everything working including a video stream in from the field site, image transfer in both directions, voice calls and instant messaging.

Students using mobile technologies at the quarry site

Out There: Students using Mobile Technologies at the Quarry Site

We are now busy analysing the results but it is clear that the activities were a novel and useful learning experience for students at both ends. On the second day, the students even identified an error in the BGS maps of the area!

Posted in Out There In Here, Research | Tagged | 1 Comment

Drupal Hack: Getting Pages and Images from Different Servers

One of the issues with running the OTIH system over a distributed network of static and mobile devices is the lower bandwidth available at the mobile end.  It is therefore important to figure out the best ways to make use of local file storage on an ‘Out There’ server, whilst maintaining an up to date link back to the ‘In Here’ site.

A potential bandwidth hog would be the need to access images from the In Here server for display in the pages of our Drupal-based CMS on Out There devices. Given that we will sync files between the OT and IH servers, a much better solution is to serve the HTML from the IH server for users at both locations, but to grab the images locally at each end.

Drupal doesn’t support this kind of thing as standard, but after wading through a fair amount of the core code, we found that it actually requires only a few additional lines to get it to work.

In our site, we are using two modules to display images. One is ImageField, which is responsible for the CCK image type and produces the full sized images, the other is ImageCache, used to produce thumbnails or other modified sizes.

In nearly all cases, path variables in Drupal are relative, this makes sense as you can then easily move the site to various servers, but it makes it hard to modify the full path on the fly.  To do this and get it rendered correctly we need to modify the theme function of both our modules: Function theme_imagefield_image in  ImageField.module, and function theme_imagecache in the ImageCache.module. What we are aiming to do is change the value of the url that is returned from these functions, as this will then be rendered by the site.

Firsly, we find the line in the function that generates the standard url, in the ImageField module this is: $url = file_create_url($path) . $query_string; , and in ImageCache, it is:   $imagecache_url = imagecache_create_url($presetname, $path);

After this, we insert our code. We are going to decide which server to use based on the current users’ membership of a group. If they are members of ‘Out There’, we will modify the url and thus the images will be served locally. We also want to ignore the admin user, they will get images from the standard server, even though they are technically a member of the ‘Out There’ group.

The following lines get or set the variables we need. $user identifies the current user, $base_url gives us the current path of the server (without the relative part) and we also identify the gid of the group we are checking for in our conditional statement.

global $user;
global $base_url;
$out_there_gid = 2;

Next is our conditional statement, we know that User ID 1 = admin, so we want to ignore that. We then use the og_is_group_member function to check if the current user is a member of Out There:

if (($user->uid != 1) &&(og_is_group_member($out_there_gid, NULL, $user->uid))) {

We then take the $url variable, and replace base_url with the out there server address (In ImageCache this variable is called $imagecache_url)

$url = str_replace($base_url, “http://outthereserver.org“, $url);
};

After our inserted code, the existing code from the function then takes $url and returns a string of the HTML output for this image. e.g.:

$attributes['src'] = $url;
$attributes = drupal_attributes($attributes);
return ‘<img ‘. $attributes .’ />’;

Thats it. A few lines changed and hopefully a whole lot of unnecessary data transfer saved!

Posted in Development | Tagged , , | 1 Comment