[Solved] [Too many packets lost] in state [1]

Post here to get support
Post Reply
netzzi
Beginner
Posts: 2
Joined: Thu Feb 19, 2015 8:31 am

[Solved] [Too many packets lost] in state [1]

Post by netzzi » Thu Feb 19, 2015 8:51 am

Hello,
i have trouble to get a raspberry pi headless working. i tested the crazyflie 2.0 with windows7 and the crazyradio together and all works fine (controled with a iphone6)
now i tried the rasperry pi image (0.3) form there: http://wiki.bitcraze.se/projects:crazyf ... aspberrypi and can't get the radio working.
so i build my own and new build on my own like here http://wiki.bitcraze.se/projects:crazyf ... aspberrypi from scratch with an new wheezy
if i try to connect to my crazyflie i got some error in the log or on the console:

Code: Select all

bitcraze@crazyflie ~ $ /home/bitcraze/projects/crazyflie-pc-client/bin/cfheadless -u `cat /home/bitcraze/link.conf` -i `cat /home/bitcraze/controller.conf`
[...]
Will use [Sony PLAYSTATION(R)3 Controller] for input
INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/10/250K]
INFO:cflib.crazyflie:We are connected[radio://0/10/250K], request connection setup
WARNING:cflib.crazyflie:Got link error callback [Too many packets lost] in state [1]
INFO:cflib.crazyflie:Callback->Connected failed to [radio://0/10/250K]: Too many packets lost
Connection failed on radio://0/10/250K: Too many packets lost
bitcraze@crazyflie ~ $
the red led on the crazyradio blink one time after start the cfheadless, got the same error if the crazyflie on or off.
somebody here who can help me?
Last edited by netzzi on Thu Feb 19, 2015 12:20 pm, edited 1 time in total.



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

Re: [Too many packets lost] in state [1]

Post by arnaud » Thu Feb 19, 2015 10:17 am

Hi,

This looks like the connection uri is wrong, are you sure your copter is currently configured on channel 10 with datarate 250k? If not you should change the content of the file /home/bitcraze/link.conf

netzzi
Beginner
Posts: 2
Joined: Thu Feb 19, 2015 8:31 am

Re: [Too many packets lost] in state [1]

Post by netzzi » Thu Feb 19, 2015 12:19 pm

Thanks, Problem solved. I go back to win7 and looked at the parameter, was channel 80. so i switched to 80 at linux and the connection ist etablished.

Post Reply