This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:crazyflie:pc_utils:dev_guide [2013-05-26 22:39] daniel |
projects:crazyflie:pc_utils:dev_guide [2021-06-24 16:52] (current) kimberly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <code> </code> | + | <WRAP center round important 60%> |
| + | This page has deprecated and will be archived. Please go to [[https:// | ||
| + | </WRAP> | ||
| + | ====== PC utils development guide ====== | ||
| ===== Installing ===== | ===== Installing ===== | ||
| - | This guide will help you get up and started with working with and contributing code to the Crazyflie | + | This guide will help you get up and started with working with and contributing code to the Crazyflie |
| ==== Getting the source code ==== | ==== Getting the source code ==== | ||
| - | The sources for the Crazyflie | + | The sources for the Crazyflie |
| - | After forking the repository, you have a complete copy of the code and all its history on Bitbucket. You can clone this repository using Mercurial: | + | After forking the repository, you have a complete copy of the code and all its history on GitHub. You can clone this repository using Git: |
| < | < | ||
| - | hg clone [[https:// | + | git clone [[https:// |
| </ | </ | ||
| - | Mercury | + | Git will make a subdirectory in the directory that you execute the command in and clone the repository there. |
| ==== Installing the sources in your home profile ==== | ==== Installing the sources in your home profile ==== | ||
| - | When developing with the Crazyflie | + | When developing with the Crazyflie |
| However, you might want to install the client like a " | However, you might want to install the client like a " | ||
| Line 24: | Line 27: | ||
| </ | </ | ||
| - | This installs the sources into your user profile (e.g. in ~/.local). If you want to be able to run the PC client, you can either execute it straight from the sources, or from the executable installed in your profile (e.g. ~/ | + | This installs the sources into your user profile (e.g. in ~/.local). If you want to be able to run the Python |
| < | < | ||
| Line 33: | Line 36: | ||
| ==== Testing changes ==== | ==== Testing changes ==== | ||
| - | Now that everything' | + | Now that everything' |
| ==== Contributing your changed code ==== | ==== Contributing your changed code ==== | ||
| - | If you've tested your changes and everything' | + | If you've tested your changes and everything' |
| < | < | ||
| - | hg push | + | git push |
| </ | </ | ||
| - | The buttons on the top left left you compare the code you've written with Bitcraze' | + | The buttons on the top left left you compare the code you've written with Bitcraze' |
| ===== Coding standard ===== | ===== Coding standard ===== | ||
| Currently this code is pretty messy but it's being modified to follow [[http:// | Currently this code is pretty messy but it's being modified to follow [[http:// | ||