amymcgovern / pyparrot

Python interface for Parrot Drones
MIT License
276 stars 129 forks source link

Multiple USB connected Bluetooth devices (one Bluetooth device per drone) #220

Open toncho11 opened 2 years ago

toncho11 commented 2 years ago

Hi,

It is not exactly an issue but a question: is it possible to use several host USB devices? We want to use 4 USB Bluetooth devices on a computer and control 4 Mambo drones from this computer.

So here:

# you will need to change this to the address of YOUR mambo
mamboAddr = "e0:14:d0:63:3d:d0"

# make my mambo object
# remember you can't use the claw with the camera installed so this must be BLE connected to work
mambo = Mambo(mamboAddr, use_wifi=False)

we give the address of the the Bluetooth of the drone. The question is how to select the Bluetooth device on the host. In our case there are 4.

Thanks in advance.