This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
projects:virtualmachine:index [2016-02-18 13:26] kristoffer |
projects:virtualmachine:index [2016-06-14 16:00] macke |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Bitcraze Virtual Machine ====== | ====== Bitcraze Virtual Machine ====== | ||
- | In order to easily get going with the development of Bitcraze projects we have pre-configured a virtual machine that can be imported into [[https:// | + | In order to easily get going with the development of Bitcraze projects we have pre-configured a virtual machine that can be imported into [[https:// |
<WRAP center round info> | <WRAP center round info> | ||
Line 7: | Line 7: | ||
</ | </ | ||
+ | If you would like to create your own virtual machine instead of downloading ours, then have a look at [[projects: | ||
- | If you would like to create your own virtual machine instead | + | **Please note:** All the instructions here (and on sub-pages) are always updated |
- | **Please note:** All the instructions here (and on sub-pages) are always updated to match the latest available version of the VM and might not be valid for earlier versions. | ||
====== Download ====== | ====== Download ====== | ||
- | You can download the VM using one of the link below: | + | You can download the VM using one of the link below (torrents preferred): |
+ | * Bitcraze VM 2016-06 (torrent) ([[http:// | ||
* Bitcraze VM 0.8 ([[http:// | * Bitcraze VM 0.8 ([[http:// | ||
- | * Bitcraze VM 0.6 ([[http:// | ||
- | * Bitcraze VM 0.5 ([[http:// | ||
- | * Bitcraze VM 0.4 ([[http:// | ||
- | * Bitcraze VM 0.3 ([[http:// | ||
- | * Bitcraze VM 0.2 ([[http:// | ||
- | Please note that direct downloads are hosted at MEGA, so it's limited to 6 downloads at a time. Using torrents are preferred. | ||
====== VM info ====== | ====== VM info ====== | ||
- | The latest available version of the VM is 0.6 and is created from scratch (i.e not updated from 0.5). | + | The [[https://github.com/bitcraze/bitcraze-vm|GitHub repository |
- | < | + | |
- | OS | + | |
- | HDD : ~29 GB (dynamically sized) | + | |
- | RAM : 1 GB | + | |
- | User: bitcraze | + | |
- | Pass: crazyflie | + | |
- | </code> | + | |
- | + | ||
- | ===== Configuration ===== | + | |
- | The VM comes pre-configured with the following: | + | |
- | * udev rules for Crazyradio, Crazyradio bootloader and Crazyflie 2.0 | + | |
- | * Pre-configured USB filters | + | |
- | + | ||
- | **NOTE**: The USB filters in the 0.3 version of the VM specify a serial number for the radio dongle. | + | |
- | + | ||
- | ===== Installed software ===== | + | |
- | Below is a overview of what' | + | |
- | * VirtualBox guest additions (for network sharing, screen resize, etc) | + | |
- | * gnu-arm-none-eabi toolchain and build tools | + | |
- | * Git and gitg | + | |
- | * pyusb, pysdl2 and pyqt | + | |
- | * Qt4 and QtDesigner | + | |
- | * PyQtGraph | + | |
- | * PyCharm | + | |
- | * Oracle Java JRE (for PyCharm) | + | |
- | * KiCad | + | |
- | * Eclipse with compiling/ | + | |
- | * SDCC | + | |
- | + | ||
- | ===== Projects ===== | + | |
- | The following projects are cloned into the VM: | + | |
- | * crazyflie-firmware | + | |
- | * crazyflie-bootloader | + | |
- | * crazyflie-pc-client | + | |
- | * crazyradio-firmware | + | |
- | * crazyradio-electronics | + | |
- | * crazyflie-android-client | + | |
- | * crazyflie2-exp-template-electronics | + | |
- | * crazyflie2-stm-bootloader | + | |
- | * crazyflie2-nrf-bootloader | + | |
- | * crazyflie2-nrf-firmware | + | |
- | + | ||
- | There are also short-cuts on the desktop to easily run the Crazyflie PC client and also to update all the projects to the latest version available on GitHub. | + | |
- | ===== Development ===== | + | ====== HOW-TOs |
- | The VM comes pre-installed and pre-configured for development. Here's what you can do: | + | ===== Update all the projects |
- | * Update and build the latest versions of the Crazyflie/ | + | |
- | * Easily flash the Crazyflie firmware from Eclipse using the radio | + | |
- | * [[projects: | + | |
- | * View and modify the Crazyradio electronics design | + | |
- | * Develop for Crazyflie PC client with QtDesigner for the UI | + | |
- | ===== HOW-TOs ===== | + | |
- | ==== Update all the projects ==== | + | |
If you would like to update to the latest version from GitHub for all the projects you can either use the short-cut on the desktop (//Update all projects//) or run the following command: | If you would like to update to the latest version from GitHub for all the projects you can either use the short-cut on the desktop (//Update all projects//) or run the following command: | ||
< | < | ||
Line 81: | Line 26: | ||
</ | </ | ||
- | ==== Run the Crazyflie PC client ==== | + | ===== Run the Crazyflie PC client |
If you would like to fly the Crazyflie then you should to the following: | If you would like to fly the Crazyflie then you should to the following: | ||
* Insert the controller and Crazyradio and pass them to the VM. In VirtualBox this is done by right-clicking on the USB icon in the bottom left hand of the screen and selecting the Crazyradio and the controller | * Insert the controller and Crazyradio and pass them to the VM. In VirtualBox this is done by right-clicking on the USB icon in the bottom left hand of the screen and selecting the Crazyradio and the controller | ||
Line 89: | Line 34: | ||
**PLEASE NOTE:** If no controller is passed to VirtualBox the default controller will be the // | **PLEASE NOTE:** If no controller is passed to VirtualBox the default controller will be the // | ||
- | ==== Build the Crazyflie firmware ==== | + | ===== Build the Crazyflie firmware |
Running the following commands will build the firmware which can be flashed with the wireless bootloader. For updating the Crazyflie use the resulting // | Running the following commands will build the firmware which can be flashed with the wireless bootloader. For updating the Crazyflie use the resulting // | ||
< | < | ||
Line 96: | Line 41: | ||
</ | </ | ||
- | ==== Tutorials ==== | + | ====== Tutorials |
[[projects: | [[projects: | ||
- | {{tag> |