Too many packets lost
Posted: Tue May 12, 2020 7:36 pm
Hello!
I am new to the crazyflie and I am currently trying to connect it to the lighthouse. To do this I've been following this guide:
https://www.bitcraze.io/documentation/r ... _overview/
However, I haven't managed to get the base station position using get_bs_position.py. When I run the script it says "connecting to radio://0/80/2M" for about 20 min. Then the CF starts blinking, alternating between the lighthouse deck LED and the green LEDs. In cmd the following text is displayed:
Connecting to radio://0/80/2M
Connection to radio://0/80/2M failed: Too many packets lost
Traceback (most recent call last):
File "D:\Studa\Thesis\crazyflie-firmware-master\tools\lighthouse\get_bs_geomet
ry.py", line 333, in <module>
with SyncCrazyflie(uri, cf=cf) as scf:
File "C:\Users\Simon\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\cflib\crazyflie\syncCrazyflie.py", line 67, in __enter__
self.open_link()
File "C:\Users\Simon\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\cflib\crazyflie\syncCrazyflie.py", line 64, in open_link
raise Exception(self._error_message)
Exception: Too many packets lost
Many thanks in advance!
I am new to the crazyflie and I am currently trying to connect it to the lighthouse. To do this I've been following this guide:
https://www.bitcraze.io/documentation/r ... _overview/
However, I haven't managed to get the base station position using get_bs_position.py. When I run the script it says "connecting to radio://0/80/2M" for about 20 min. Then the CF starts blinking, alternating between the lighthouse deck LED and the green LEDs. In cmd the following text is displayed:
Connecting to radio://0/80/2M
Connection to radio://0/80/2M failed: Too many packets lost
Traceback (most recent call last):
File "D:\Studa\Thesis\crazyflie-firmware-master\tools\lighthouse\get_bs_geomet
ry.py", line 333, in <module>
with SyncCrazyflie(uri, cf=cf) as scf:
File "C:\Users\Simon\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\cflib\crazyflie\syncCrazyflie.py", line 67, in __enter__
self.open_link()
File "C:\Users\Simon\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\cflib\crazyflie\syncCrazyflie.py", line 64, in open_link
raise Exception(self._error_message)
Exception: Too many packets lost
Many thanks in advance!