Tuesday, 13 December 2011

Installing Player/Stage in Ubuntu 11.10 (Oneiric Ocelot)

This entry is my guide to installing Player/Stage on Ubuntu 11.04 updated for the next version of Ubuntu following what I learnt here.


If you have any problems or questions that aren't addressed here then I recommend you email the playerstage users mailing list.

Friday, 2 December 2011

Upgrading to Ubuntu 11.10 with player/stage

Yesterday I thought it would be a good idea to upgrade my laptop to 64-bit Ubuntu 11.10 (Oneiric Ocelot), this turned out to be a TERRIBLE idea since I've now spent the last 7 hours trying to reinstall Player/Stage. JOY.

In this post I'll quickly go over what I did that was different to the install for Ubuntu 11.04 (a comparative breeze). A more user-friendly guide to installing Player/Stage can be found here.

Let's get to it!

Monday, 3 October 2011

Installing Player/Stage in Ubuntu (Natty Narwhal)

A few months ago I wrote a guide to installing Player/Stage on a clean Natty Narwhal Ubuntu install for the robot lab I work at. This was on a protected wiki, but I think maybe it'd also be beneficial to the world in general, so I'll guide you through the installation process (with pictures!) in this blog entry.

I'm pretty sure this guide will work for any version of Ubuntu that has Ubuntu Software Centre on it, but I've only tested these instructions for Natty. If you followed these instructions to install Player/Stage on a non-Natty version of Ubuntu do leave a comment so that others can know whether it works.

A newer version of these instructions for Ubuntu 11.10 can be found here.

If you have any problems or questions that aren't addressed here then I recommend you email the playerstage users mailing list.

Monday, 26 September 2011

Microphone work: Finding out your sample rate.

Goodness it's been a while since I updated my blog! This is mostly because I've spent the past year or so designing and building a new extension for the epuck robots. Details about that I'll leave for another time, although this blog entry is somewhat related.


I have a circuit which takes a signal from a microphone and feeds it into a PIC microcontroller. This PIC then performs Analogue-to-Digital conversion and stores the data in memory for me to mess with later.
The process of reading in the signal and storing it in memory is known as "sampling". A single piece of recorded data is called a "sample", the rate at which you record the information is called the "sample rate".

Are you following me so far?

The sample rate is super useful to know if you plan on doing anything clever with your data. For my work I need the sample rate to be as fast as possible so I have my PIC recording samples in a loop until its memory gets full. This means I don't actually know how fast this is happening, so I need to measure it.

Read on to find out how I did this, and for some handy MATLAB code!