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 [2013-01-22 13:51] macke |
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.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: | 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: | ||
- | ====== Crazyflie | + | ====== Crazyflie |
The Crazyflie library can be used to easily integrate control and communication with the Crazyflie quadcopter into an application. Currently the only implementation is done in Python and can be found [[projects: | The Crazyflie library can be used to easily integrate control and communication with the Crazyflie quadcopter into an application. Currently the only implementation is done in Python and can be found [[projects: | ||
====== List of applications ====== | ====== List of applications ====== | ||
- | ===== Control | + | ===== Crazyflie control |
- | A userguide for the GUI application can be found [[projects:crazyflie:pc_utils:qt_ui|here]]. | + | The Crazyflie control UI is used to pilot the Crazyflie using a graphical user interface. |
- | ===== Link driver model ===== | ||
- | All command line tools used the same link diver model. The link driver to use in order to communicate with the copter is chosen with the '' | ||
< | < | ||
- | crazyclient$ python gamepadCtrl.py | + | usage: cfclient [-h] [--debug DEBUG] |
- | CRTP Driver loader options: | + | |
- | --------------------------- | + | |
- | -l < | + | |
- | | + | |
- | Unless otherwise specified the URI " | + | cfclient - Crazyflie graphical control client |
- | </ | + | |
- | The available drivers are: | + | optional arguments: |
- | + | | |
- | | + | --debug DEBUG, -d DEBUG |
- | * **%%radio:// | + | set debug level [minimal, info, debug, debugfile] |
- | * **%%radio:// | + | |
- | * **%%radio:// | + | |
- | | + | |
- | + | ||
- | ===== crazyload.py ===== | + | |
- | + | ||
- | // | + | |
- | + | ||
- | To program a copter with a firmware compile in bootloader mode (see [[projects: | + | |
- | < | + | |
- | $ make cload | + | |
- | #or ... | + | |
- | $ python crazyload.py flash cflie.bin | + | |
- | Restart the CrazyFlie you want to bootload in the next 10 seconds ... | + | |
- | Connection established! | + | |
- | Flash pages: 128 | Page size: 1024 | Buffer pages: 10 | Start page: 10 | + | |
- | 118 KBytes of flash avaliable for firmware image. | + | |
- | + | ||
- | Flashing 43907 bytes (43 pages) ..........10..........10..........10..........10...3 | + | |
- | Reset in firmware mode ... | + | |
- | Done! | + | |
- | $ | + | |
</ | </ | ||
- | Here // | ||
- | |||
- | ===== getinfo.py | + | ===== Crazyflie headless client |
+ | The Crazyflie headless client is intended to be run on the Raspberry Pi (see [[misc: | ||
- | // | ||
< | < | ||
- | 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 | ||
+ | | ||
</ | </ |