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.