python3 position_commander_demo.py command
Posted: Mon Jan 18, 2021 11:13 pm
Hello,
I am trying to run the "python3 position_commander_demo.py" command, but I get the error:
Connecting to radio://0/80/250K/E7E7E7E7E7
Got link error callback [Too many packets lost] in state [1]
Connection to radio://0/80/250K/E7E7E7E7E7 failed: Too many packets lost
Traceback (most recent call last):
File "position_commander_demo.py", line 81, in <module>
simple_sequence()
File "position_commander_demo.py", line 70, in simple_sequence
with SyncCrazyflie(uri, cf=Crazyflie(rw_cache='./cache')) as scf:
File "/home/bitcraze/.local/lib/python3.6/site-packages/cflib/crazyflie/syncCrazyflie.py", line 72, in __enter__
self.open_link()
File "/home/bitcraze/.local/lib/python3.6/site-packages/cflib/crazyflie/syncCrazyflie.py", line 69, in open_link
raise Exception(self._error_message)
Exception: Too many packets lost
Does anyone know how I can fix this?
Thanks!
I am trying to run the "python3 position_commander_demo.py" command, but I get the error:
Connecting to radio://0/80/250K/E7E7E7E7E7
Got link error callback [Too many packets lost] in state [1]
Connection to radio://0/80/250K/E7E7E7E7E7 failed: Too many packets lost
Traceback (most recent call last):
File "position_commander_demo.py", line 81, in <module>
simple_sequence()
File "position_commander_demo.py", line 70, in simple_sequence
with SyncCrazyflie(uri, cf=Crazyflie(rw_cache='./cache')) as scf:
File "/home/bitcraze/.local/lib/python3.6/site-packages/cflib/crazyflie/syncCrazyflie.py", line 72, in __enter__
self.open_link()
File "/home/bitcraze/.local/lib/python3.6/site-packages/cflib/crazyflie/syncCrazyflie.py", line 69, in open_link
raise Exception(self._error_message)
Exception: Too many packets lost
Does anyone know how I can fix this?
Thanks!