Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.2 KB

File metadata and controls

48 lines (33 loc) · 1.2 KB

Select Crazyflie

The select command scans for available Crazyflies and saves the selected URI for use in subsequent commands.

Interactive selection

To scan and interactively select a Crazyflie:

cfcli select

If you have a Crazyflie on a different address than the default you can specify it while scanning:

cfcli select E7E7E7E7E7

Automatic selection

Use the --auto flag to automatically select the URI when exactly one Crazyflie is found. This is useful for scripting and automation.

cfcli select --auto

If zero or more than one Crazyflie is found, the command will exit with an error.

Select from USB

Use the --from-usb flag to connect to a USB-attached Crazyflie, read its radio configuration (channel, speed, and address) from the EEPROM, and save the corresponding radio URI.

cfcli select --from-usb

This is useful when you have a Crazyflie connected via USB and want to configure cfcli to connect to it over radio in subsequent commands. The command will read the radio channel, speed, and address from the Crazyflie's EEPROM and construct a radio:// URI.

If zero or more than one USB Crazyflie is found, the command will exit with an error.