User Tools

Site Tools


projects:crazyflie:binaries:raspberrypi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:crazyflie:binaries:raspberrypi [2013-07-08 16:16]
macke
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://www.bitcraze.io/documentation/system/]]
 +</WRAP>
 +
 ====== 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://www.raspbian.org/| Raspbian]] distribution, more specifically the Wheezey version that can be downloaded [[http://downloads.raspberrypi.org/images/raspbian/2013-05-25-wheezy-raspbian/2013-05-25-wheezy-raspbian.zip.torrent|from this torrent]].+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://www.raspbian.org/| Raspbian]] distribution. The image version 2015.3 is based on Raspbian version 2015-02-16 available on the [[http://www.raspberrypi.org/downloads/|RaspberryPi website]].
  
-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. If you would like to re-create the SD-image with your own Wheezy image then [[projects:crazyflie:pc_utils:raspberrypi|have a look at what we did]].+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 image, but as an added feature you can also use our stuff. If you would like to re-create the SD-image with your own Wheezy image then [[projects:crazyflie:pc_utils:raspberrypi|have a look at what we did]].
  
-The changes made to the SD-card is mostly based of the contributed instructions from the [[projects:crazyflie:hacks:rasberrypi|hacks section]].+The changes made to the SD-card is mostly based of the contributed instructions from the [[misc:hacks:rasberrypi|hacks section]].
  
 ====== 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 Raspian image 0.[[http://tracker.bitcraze.se/torrents/cfpi-0_1.zip.torrent|torrent]] (preferred+  * Bitcraze Raspbian image 2015.3 ([[http://files.bitcraze.se/dl/cfpi-2015.3.7z.torrent|torrent]]) ([[http://files.bitcraze.se/dl/cfpi-2015.3.7z|direct download]]) ([[https://mega.co.nz/#!uQYSFIDJ!6PwIwxM315B99ejveo_6zlTVWk_oYkMOW0fKQLQ74A0|mega]]) 
-  * Bitcraze Raspian image 0.1 [[https://mega.co.nz/#!HJpH2KDJ!bY-EdGtyxIRzOUu6xNVWnid_cco5wS-IQ6ELfc5Y1Q8|direct download]] (limited to 6 simultaneous downloads+  * Bitcraze Raspbian image 0.3 ([[http://files.bitcraze.se/dl/cfpi-0_3.7z.torrent|torrent]]) ([[http://files.bitcraze.se/dl/cfpi-0_3.7z|direct download]]) 
- +  * Bitcraze Raspbian image 0.2 ([[http://tracker.bitcraze.se/torrents/cfpi-0_2.zip.torrent|torrent]]([[https://mega.co.nz/#!fVoTBIAQ!Akk80haC--oZjklJxCzCaS_nnlg8xVQhUcczPviaawA|mega]]
 +  * Bitcraze Raspbian image 0.1 ([[http://tracker.bitcraze.se/torrents/cfpi-0_1.zip.torrent|torrent]]) ([[https://mega.co.nz/#!HJpH2KDJ!bY-EdGtyxIRzOUu6xNVWnid_cco5wS-IQ6ELfc5Y1Q8|mega]]) 
 + 
 + 
 +<WRAP center round info > 
 +//**Note**// 
 +Using Torrent is advised, we have added webseed so it is faster than direct download and guarantee the file integrity. 
 +</WRAP> 
 + 
 +====== 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 'pi' user to launch the command: 
 + 
 +<code> 
 +curl https://raw.githubusercontent.com/bitcraze/bitcraze-raspberry-pi/2015.3/bitcraze_raspberrypi.sh | sh 
 +</code> 
 + 
 ====== SD-image info ====== ====== SD-image info ======
 <code> <code>
-Size: GB +Size: GB 
-User: bitcraze +User: pi 
-Pass: crazyflie+Pass: raspberry
 </code> </code>
 +
 +(version before 2015.3 had bitcraze/crazyflie as username/password)
  
 ====== What's added to the image ====== ====== What's added to the image ======
 There's a list of what's added: There's a list of what's added:
   * UDEV rules for access to the Crazyradio and NRF bootloader   * UDEV rules for access to the Crazyradio and NRF bootloader
-  * crazyflie-pc-client and crazyradio-firmware pre-cloned +  * crazyflie-pc-client pre-cloned at latest stable version 
-  * 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 ======
Line 31: Line 53:
  
 ====== 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 named controller.conf and link.conf. They should only contain one row each.+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 be ready to fly.
  
-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 45: Line 67:
  
 Check logfile /tmp/cfheadless.log for messages Check logfile /tmp/cfheadless.log for messages
 +
 +====== FAQ ======
 +===== How do I get the RedOctane Xbox360 controller to work =====
 +You will have to edit the ''/root/bin/xbox'' file to contain the following to get the RedOctaine xbox360 (1430:f801) controller to work:
 +<code>
 +#!/bin/sh
 +if test "$ACTION" = "add"
 +then
 +/usr/bin/xboxdrv --device-by-id 1430:f801 --type xbox360 --axismap X2=X1,Y2=Y1,X1=X2,Y1=Y2 &
 +else
 +killall -9 xboxdrv
 +fi
 +</code>
 +{{tag>update_on_pi_release}}
projects/crazyflie/binaries/raspberrypi.1373292965.txt.gz · Last modified: 2015-07-15 16:30 (external edit)