User Tools

Site Tools


projects:crazyflie:binaries:raspberrypi

This is an old revision of the document!


Bitcraze Raspberry Pi SD-card image

In order to make it easy for users that have a Raspberry Pi to test out our headless client we prepared an SD-card image that is ready to use out of the box. The image is based on the Raspbian distribution, more specifically the Wheezey version that can be downloaded from this torrent.

We haven't removed anything from the image, just added our own stuff. So you can still log in and used the Raspberry Pi as you would with the Raspbian Wheezy image, but as an added feature you can also use our stuff.

What did we change

Here's a step by step guide to what we added. So if you don't want to use our image, you can get another one and set it up yourself. Most of this stuff is based of the contributed instructions from the hacks section.

Before you get started with this you need a few things:

  • An SD-card that's at least 2GB
  • An ethernet cable to connect the Pi to your network
  • A power cord to power it
  • An SD-card reader for a computer

First of all you have to write the image to the SD-card. There are good instructions on how to do this here.

Now plug the SD-card into the Pi, attach all the cables and SSH to it. Log in user the username pi and the password raspberry and accept the fingerprint.

Let's create a user named bitcraze with the password crazyflie and add it to all the user groups.

sudo useradd bitcraze -p crazyflie -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev,input

Now install everything that we might need fro running the Crazyradio, controllers and the headless client.

sudo apt-get -y install mercurial python2.7 python-usb python-pygame xboxdrv

The shebang in the cfheadless client uses /usr/bin/pyton2 which isn't available in the original image so create a symbolic link for it.

cd /usr/bin
sudo ln -s python2.7 python2

How to

projects/crazyflie/binaries/raspberrypi.1373105436.txt.gz · Last modified: 2015-07-15 16:30 (external edit)