When i run the demo provided on bitcraze website for multi ranger deck
Connecting to radio://0/80/2M
Connection to radio://0/80/2M failed: Too many packets lost
Traceback (most recent call last):
File "C:\Users\karti\Desktop\thesis\Crazyflie\demo.py", line 45, in <module>
with SyncCrazyflie(URI, cf=cf) as scf:
File "C:\Users\karti\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cflib\crazyflie\syncCrazyflie.py", line 67, in __enter__
self.open_link()
File "C:\Users\karti\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cflib\crazyflie\syncCrazyflie.py", line 64, in open_link
raise Exception(self._error_message)
Exception: Too many packets lost
Problem with Multi ranger deck demo
Re: Problem with Multi ranger deck demo
Hi,
This is likely caused by your Crazyflie not being setup on channel 80 datarate 2M as configured in the script by the uri "radio://0/80/2M".
You can find your current Crazyflie radio parameters by connecting it with the Crazyflie client, the URI will be shown in the client. The connection parameter can be changes in the client in the menu "connect/configure 2.x", it is advised to at least set the datarate to 2M to improve radio performance.
This is likely caused by your Crazyflie not being setup on channel 80 datarate 2M as configured in the script by the uri "radio://0/80/2M".
You can find your current Crazyflie radio parameters by connecting it with the Crazyflie client, the URI will be shown in the client. The connection parameter can be changes in the client in the menu "connect/configure 2.x", it is advised to at least set the datarate to 2M to improve radio performance.
Re: Problem with Multi ranger deck demo
Thanks that helped.