Building VTK User Interfaces: Interlude – The WearBerry

This is a quick post to provide an image for future posts – the WearBerry ISO. In later posts, we will use a set of Raspberry Pi B+’s to integrate user feedback into the VTK environment. Specifically, Xbox controller input and video feeds will be streamed from a user via LCM into the 3D world. It was a bit of work to set up the image, and it might be useful for other projects, so I thought I’d make it available online. The download link and install steps are included below!

The last two articles are taking a little longer than expected to finish up (mostly because I’m stuck working on a data science/statistical learning project during the weekends). In the meantime, I’m building out the wearable components for the users, which make use of a common Raspbian image. It can take hours to build OpenCV alone on a Pi, so instead of rinse+repeating, the complete image is wrapped up into an ISO that can be downloaded to a new SD card in a matter of minutes.

Note: I’ve added nothing fancy to the installation, all the components retain all their licenses etc. Using this image may (or may not) save you a few hours setting up a new Pi B+.

The image is built for a 16Gb memory card and it contains:

  • Raspbian
  • OpenCV 2.4.9 with Python extensiosn
  • xboxdrv
  • Python 2.7 (and Python 3)
  • TightVNC
  • LCM 1.1.2

It can be downloaded from Semisorted Google Drive.


To install it in Linux:

  • Clear the 16Gb memory card
  • DD the image to the drive
    • A good article on how to transfer the image can be found here
    • Be careful with DD’ing, you can wipe out important things (like you harddrive, or accidentally format your cat) – check that you have the right target devices
    • Note: DD the image to the complete flashdrive, not just a partition – the image contains both a boot partition and a main 10Gb partition and leaves ~4Gb space for other/extra partitions
  • Use a partition manager (e.g. GParted) to set the boot flag on the boot partition
  • Log in with default Raspbian credentials:
    • User: pi
    • Password: raspberry
  • You can also log in remotely with SSH or VNC (session 0)

When I have more time, will write up a bit on the steps required to build the image. Let me know if it gives you any trouble!

– Sam


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s