The select command scans for available Crazyflies and saves the selected URI
for use in subsequent commands.
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
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.
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.
The scan command lists Crazyflies found on the configured scan addresses
without saving any selection:
cfcli scanThe default output is one URI per line, each prefixed with >. For
machine-readable output, add the global --csv flag:
cfcli --csv scanuri
usb://51004F000551343036333233
radio://0/80/2M/E7E7E7E7E7
The first line is a header (uri); each subsequent line is one discovered URI.
An empty result (just the header line) means no Crazyflies were found.