User Tools

Site Tools


projects:virtualmachine:index

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
Next revision Both sides next revision
projects:virtualmachine:index [2015-04-09 19:46]
arnaud [Bitcraze Virtual Machine]
projects:virtualmachine:index [2016-06-14 16:00]
macke
Line 1: Line 1:
 +====== 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://www.virtualbox.org/|Oracle VirtualBox]]. It contains pre-requisites needed for development and usage of the projects at Bitcraze.
 +
 +<WRAP center round info>
 +//**Note**//
 +The virtual machine can also be imported into [[http://www.vmware.com/products/player/|WM Player]] however you will then have to install the [[https://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025|guest tools]] by yourself.
 +</WRAP>
 +
 +If you would like to create your own virtual machine instead of downloading ours, then have a look at [[projects:virtualmachine:create_vm|these intructions]]. **NOTE:** These instructions are deprecated since the VM is now created with a script instead. It's kept as referens for now.
 +
 +**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 ======
 +You can download the VM using one of the link below (torrents preferred):
 +  * Bitcraze VM 2016-06 (torrent) ([[http://files.bitcraze.se/dl/Bitcraze_VM_2016-06.ova|direct download]])  ([[https://mega.nz/#!XJw2kDya!48mCn7rw-Or1E-jnA-5FYFdqGm5xe4gzmdsM87bgm24|Mega]])
 +  * Bitcraze VM 0.8 ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.8.ova.torrent|torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.8.ova|direct download]]) ([[https://mega.nz/#!XdYnDI6R!wp5mSKoaBIyPd0aWds6EhInZNnKy9eHC2LM1DzqYacc|Mega]])
 +
 +====== VM info ======
 +The [[https://github.com/bitcraze/bitcraze-vm|GitHub repository for the Bitcraze VM]] contains information on how the machine is set up and what comes pre-installed.
 +
 +====== 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:
 +<code>
 +/home/bitcraze/bin/update_all_projects.sh
 +</code>
 +
 +===== Run the Crazyflie PC client =====
 +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
 +  * Start the cfclient either by using the short-cut on the desktop (//Crazyflie PC client latest//) or by running the following command: <code>/home/bitcraze/projects/crazyflie-pc-client/cfclient</code>
 +  * Press the //Connect// button and select the URI starting with //radio// and then press //Connect//
 +
 +**PLEASE NOTE:** If no controller is passed to VirtualBox the default controller will be the //VirtualBox USB Tablet//. This device together with the default controller mapping will set the thrust depending on where the mouse-pointer is on the screen. Make sure to check that there's no thrust **before** connecting to the Crazyflie.
 +
 +===== 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 //cflie.bin//.
 +<code>
 +cd ~/projects/crazyflie-firmware
 +make CLOAD=1 DEBUG=0
 +</code>
 +
 +====== Tutorials ======
 +[[projects:virtualmachine:tutorials:vmware-win7|How to install and setup the VM in VMware, Windows 7 & First steps to learn to program the CF2]]
  
projects/virtualmachine/index.txt · Last modified: 2021-06-24 16:16 by kimberly