This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
doc:crazyflie:client:cfheadless:index [2015-01-28 10:49] macke created |
doc:crazyflie:client:cfheadless:index [2019-09-05 15:25] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page is deprecated and is moved to the main Bitcraze website. Please go to: | ||
+ | [[ | ||
+ | https:// | ||
+ | ]] | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Crazyflie headless client ====== | ||
+ | The // | ||
+ | |||
+ | ====== cfheadless ====== | ||
+ | The script is located in the //bin// directory in the // | ||
+ | < | ||
+ | $ bin/ | ||
+ | |||
+ | usage: cfheadless [-h] [-u URI] [-i INPUT] [-d] [-c CONTROLLER] | ||
+ | [--controllers] [-x] | ||
+ | |||
+ | optional arguments: | ||
+ | -h, --help | ||
+ | -u URI, --uri URI URI to use for connection to the Crazyradio dongle, | ||
+ | defaults to radio:// | ||
+ | -i INPUT, --input INPUT | ||
+ | Input mapping to use for the controller, | ||
+ | PS3_Mode_1 | ||
+ | -d, --debug | ||
+ | -c CONTROLLER, --controller CONTROLLER | ||
+ | Use controller with specified id, id defaults to 0 | ||
+ | --controllers | ||
+ | -x, --x-mode | ||
+ | </ | ||
+ | |||
+ | The client is exited either by taking out the Crazyradio USB dongle or pressing Ctrl+C | ||
+ | |||
+ | ====== Examples ====== | ||
+ | Connect to a Crazyflie at channel 100 and speed 250Kbit using input mapping // | ||
+ | |||
+ | < | ||
+ | crazyflie-clients-python$ bin/ | ||
+ | </ |