Crazyflie Got Link Error

Discussions about all things Bitcraze
Post Reply
Jason Yang
Beginner
Posts: 2
Joined: Tue Jul 24, 2018 4:57 pm

Crazyflie Got Link Error

Post by Jason Yang » Tue Aug 07, 2018 3:45 pm

Hi everyone,

I can use Python to send different setpoints to Crazyflie before, just as the example (https://github.com/bitcraze/crazyflie-l ... equence.py) do. But when I tried to connect to it today in Python, it said:

Got link error callback [Too many packets lost] in state [2]

And the algorithm stopped to work. Is there anyone who has met similar situations before? What should I do to solve this link error problem?

Thanks and best regards,
Hengye

arnaud
Bitcraze
Posts: 1826
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Got Link Error

Post by arnaud » Mon Aug 27, 2018 12:17 pm

This looks like the script is not setup to connect your Crazyflie radio URI. Make sure the Crazyflie is setup with the same radio channel and datarate as stated in your script: https://github.com/bitcraze/crazyflie-l ... py#L43-L44.

Post Reply