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:index [2012-03-10 16:14] arnaud |
projects:crazyflie:pc_utils:index [2021-06-24 16:52] (current) kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and will be archived. Please go to [[https:// | ||
+ | </ | ||
====== Crazyflie PC utilities ====== | ====== Crazyflie PC utilities ====== | ||
- | The Crazyflie PC utilities are developed using Python 2.6. The Crazyflie library is used from the command line tools as well as a graphical user interface. | + | The Crazyflie PC utilities are developed using Python 2.7. The Crazyflie library is used from the command line tools as well as a graphical user interface. For install instructions of PC side software please see [[projects: |
- | ===== Common install instructions | + | ====== Crazyflie Python Library ====== |
- | The following has to be installed for the PC utilities to work: | + | The Crazyflie library can be used to easily integrate control and communication with the Crazyflie quadcopter into an application. Currently |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | ===== Graphical User Interface | + | ====== List of applications ====== |
- | ==== Install instructions | + | ===== Crazyflie control UI ===== |
- | Besides the common bindings the following has to be installed for the user interface | + | The Crazyflie control UI is used to pilot the Crazyflie using a graphical |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | ==== Using the GUI ==== | + | < |
+ | usage: cfclient [-h] [--debug DEBUG] | ||
- | ===== Command line tools ===== | + | cfclient - Crazyflie graphical control client |
- | ==== Install instructions ==== | + | optional arguments: |
- | Besides the common bindings nothing has to be installed. | + | -h, --help |
- | + | --debug DEBUG, -d DEBUG | |
- | ==== gamepadCtrl.py ==== | + | set debug level [minimal, info, debug, debugfile] |
- | + | ||
- | ==== crazyload.py ==== | + | |
- | + | ||
- | // | + | |
- | + | ||
- | To program a copter with a firmware compile in bootloader mode (see build environment documentation): | + | |
- | < | + | |
- | $ python crazyload.py -c flash cflie.bin | + | |
</ | </ | ||
- | Here // | ||
- | The bootloader | + | ===== Crazyflie headless client ===== |
- | < | + | The Crazyflie headless client |
- | $ python crazyload.py -i 32: | + | |
- | </ | + | |
- | This command is an example that would work if the copter is currently running | + | |
- | ==== getinfo.py ==== | ||
- | |||
- | // | ||
< | < | ||
- | crazyclient$ sudo python getinfo.py -l radio://0/77 | + | usage: cfheadless [-h] [-u URI] [-i INPUT] [-d] [-c CONTROLLER] |
- | Detected CrazyRadio dongle version 0.32 | + | |
- | Channel 77 | + | |
- | Data rate 2M | + | |
- | CPU ID: 52: | + | optional arguments: |
- | Battery voltage: 3.764599V | + | -h, --help |
- | CrazyCopter version: 0.9.0 | + | -u URI, --uri URI URI to use for connection to the Crazyradio dongle, |
- | Copter class name: CrazyFlie | + | defaults to radio://0/10/250K |
- | CPU ID: 52: | + | -i INPUT, --input INPUT |
- | crazyclient$ | + | Input mapping to use for the controller, defaults to |
+ | | ||
+ | -d, --debug | ||
+ | -c CONTROLLER, --controller CONTROLLER | ||
+ | Use controller with specified id, id defaults to 0 | ||
+ | | ||
</ | </ | ||
- | |||
- |