This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:crazyflie:binaries:raspberrypi [2013-10-05 03:23] absoloodle37 |
projects:crazyflie:binaries:raspberrypi [2020-05-12 14:26] (current) kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
+ | </ | ||
+ | |||
====== Bitcraze Raspberry Pi SD-card image ====== | ====== 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 [[http:// | + | 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 [[http:// |
- | We haven' | + | We haven' |
- | The changes made to the SD-card is mostly based of the contributed instructions from the [[projects: | + | The changes made to the SD-card is mostly based of the contributed instructions from the [[misc: |
====== Download ====== | ====== Download ====== | ||
- | The SD-card image can be downloaded here: | + | The SD-card image can be downloaded here (version 2015.3 and onward is compatible with Raspberrypi 2): |
- | * Bitcraze | + | * Bitcraze |
- | * Bitcraze | + | * Bitcraze Raspbian |
- | + | * Bitcraze Raspbian image 0.2 ([[http:// | |
+ | * Bitcraze | ||
+ | |||
+ | |||
+ | <WRAP center round info > | ||
+ | // | ||
+ | Using Torrent is advised, we have added webseed so it is faster than direct download and guarantee the file integrity. | ||
+ | </ | ||
+ | |||
+ | ====== Installing in an existing Raspbian sdcard ====== | ||
+ | |||
+ | If you already have a running raspbian system no need to download the image, connect your raspberrypi and run the following command to install all packages and dependencies. We are generating the official that way. You must be logged with the ' | ||
+ | |||
+ | < | ||
+ | curl https:// | ||
+ | </ | ||
+ | |||
====== SD-image info ====== | ====== SD-image info ====== | ||
< | < | ||
- | Size: 2 GB | + | Size: 4 GB |
- | User: bitcraze | + | User: pi |
- | Pass: crazyflie | + | Pass: raspberry |
</ | </ | ||
+ | |||
+ | (version before 2015.3 had bitcraze/ | ||
====== What's added to the image ====== | ====== What's added to the image ====== | ||
There' | There' | ||
* UDEV rules for access to the Crazyradio and NRF bootloader | * UDEV rules for access to the Crazyradio and NRF bootloader | ||
- | * crazyflie-pc-client | + | * crazyflie-pc-client pre-cloned |
- | * pyusb and pygame | + | * pyusb |
* UDEV rules to automatically launch the cfheadless client when Crazyradio is plugged in | * UDEV rules to automatically launch the cfheadless client when Crazyradio is plugged in | ||
* Driver for the Xbox 360 wireless controller and automatic start of the utilities | * Driver for the Xbox 360 wireless controller and automatic start of the utilities | ||
- | * Mercurial | ||
====== Creating the SD-card ====== | ====== Creating the SD-card ====== | ||
First of all you have to write the image to the SD-card. There are good instructions on how to do this [[http:// | First of all you have to write the image to the SD-card. There are good instructions on how to do this [[http:// | ||
- | |||
- | == Expanding the partition to use all available space on you SD card: The raspi-config script == | ||
- | |||
- | When you start your Pi the display shows the output from each of the start-up scripts (as lots of scrolling text). If starting for the first time using a new image you are logged in as a root user, and the raspi-config menu will then appear. It can also be started at any time from the command line or from a terminal window (see below). | ||
- | |||
- | It has the following entries (this is the layout from the Raspian 2012-12-16 image. It may be different on other images): | ||
- | |||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | < | ||
- | |||
- | Select the expand_rootfs option and follow the onscreen instructions. | ||
====== How to use the SD-card image ====== | ====== How to use the SD-card image ====== | ||
- | First of all you need to set up what controller and link settings you are using. This is done by editing the two files in the folder /home/bitcraze | + | First of all you need to set up what controller and link settings you are using. This is done by editing the two files in the folder /home/pi named controller.conf and link.conf. They should only contain one row each. |
- | To fly first insert the USB controller, then power on the Crazyflie and lastly insert the Crazyradio. This will start the cfheadless client and connect to the Crazyflie. In a few seconds you sould be ready to fly. | + | To fly first insert the USB controller, then power on the Crazyflie and lastly insert the Crazyradio. This will start the cfheadless client and connect to the Crazyflie. In a few seconds you should |
- | To quick either power off the Crazyflie or pull-out the Crazyradio. | + | To quit either power off the Crazyflie or pull-out the Crazyradio. |
In order to restart flying you have to pull-out the Crazyradio dongle and insert it again. | In order to restart flying you have to pull-out the Crazyradio dongle and insert it again. | ||
Line 82: | Line 80: | ||
fi | fi | ||
</ | </ | ||
+ | {{tag> |