Bitcraze virtual machine V0.2

Firmware/software/electronics/mechanics
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

Re: Bitcraze virtual machine V0.2

Post by alex »

Can anyone give me a hint on how to sync the Crazyflie firmware, framework and so on with the most recent version in the repository/from Bitbucket?
Is there a convenient out-of-the-box updating system included in the virtual machine?

Thanks.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Bitcraze virtual machine V0.2

Post by marcus »

If you start up the virtual machine and open a terminal you can write the following:

Code: Select all

cd ~/projects/crazyflie-firmware
hg pull
hg update
make CLOAD=1 DEBUG=0
cd ~/projects/crazyflie-pc-client
hg pull
hg update
cd ~/projects/crazyflie-pc-client/bin
./cfclient

These commands will update to the latest firmware and software in the repository, build the Crazyflie firmware and start the cfclient software. You can then update to the latest firmware by doing the following:
* Go to the menu "Crazyflie->Bootloader"
* Click "Initiate cold boot"
* Power on the Crazyflie
* Press "Browse" and select the binary /home/bitcraze/projects/crazyflie-firmware/cflie.bin
* Press "Program" and wait
* Press "Restart in firmware mode"
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

Re: Problems installing PyUSB and running CF PC Client

Post by alex »

Nice, thank you. That would be a great addition to the wiki. Besides a link to the virtual machine image.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Bitcraze virtual machine V0.2

Post by marcus »

Yeah, we are lagging a bit on the documentation, but now the instructions are updated.

Bitcraze Virtual Machine: http://wiki.bitcraze.se/projects:virtualmachine:index
Crazyflie PC Client documentation: http://wiki.bitcraze.se/projects:crazyf ... tils:qt_ui
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

Re: Problems installing PyUSB and running CF PC Client

Post by alex »

Wow, that was quick. I know that you guys are working hard for the documentation.
iamkey
Beginner
Posts: 1
Joined: Mon May 06, 2013 8:48 am

Re: Bitcraze virtual machine V0.2

Post by iamkey »

Hey guys, can you share this vm elsewhere? I'm not seeing any seeds online and would be really keen to get a copy to use and share. Presuming those first pre-orders are hitting peoples desks as we speak it'd be good to get the seed ratio up to support them with out-of-the-box software :)

Failing that I'll just try using the OSX Client..failing that I'll set up my own vm.

Cheers for such a dinky product!
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Bitcraze virtual machine V0.2

Post by marcus »

Hi iamkey,

I just checked and I'm seeing 5 seeders for the torrent (including me). Could you give it another try?

The file is about ~2 GB so it's hard to host it somewhere since it would generate a lot of traffic. We will check to see if we can solve it.

/Marcus
danielsamuels
Beginner
Posts: 14
Joined: Sun May 05, 2013 3:21 pm

Re: Bitcraze virtual machine V0.2

Post by danielsamuels »

Might be worth giving Mega a try. It's super quick.

Edit: I've uploaded it to Mega, you can download it here
atomicdog
Expert
Posts: 105
Joined: Tue Mar 12, 2013 2:50 am
Location: San Diego

Re: Bitcraze virtual machine V0.2

Post by atomicdog »

Some suggestions for the next VM version.
  • add a link to cflient on the desktop
  • add a cload make target to eclipse
6-DOF CF | wireless xbox 360 controller
SuperDave42
Beginner
Posts: 23
Joined: Tue Feb 05, 2013 8:30 pm
Location: California, a
Contact:

Re: Bitcraze virtual machine V0.2

Post by SuperDave42 »

I'm at work Torrenting the VM V0.2 directly to my Galaxy Nexus ( going to try to run the VM on the phone itself )

the reason is because I want to check out some things in the VM/ CF client before I get home and back to my laptop.

I was just thinking it would be really cool to be able to access the VM from the WEB. like a built in VM at BitCraze.se so we could log in and access the tools etc, even if we could not save out of it.
Superluminal carbon fiber flying robots.
Post Reply