Too many packets lost

Post here to get support
Post Reply
legalnonsense
Beginner
Posts: 9
Joined: Sun Jul 21, 2013 5:30 pm

Too many packets lost

Post by legalnonsense »

Just got a crazyflie. I am new to all of this. I am running linux mint 15. I have everything working until I press the throttle on the joystick, when the propellers spin for a second or two and then I get a too many packets lost error.

firmware is cflie-2013.4.bin and cradio-0.52.bin
I am using a generic PS3 joystick, but I encounter the problem even if I try to spin the blades through a python script without the controller attached.

I have tried to do this through the virtual box and natively; get the same error.

I am getting telemetry data displayed on the client and it's otherwise responsive to input. I thought perhaps the generic ps3 controller but python did the same. It is not until I throttle that anything goes wrong.

I've tried many different channels and they all yield identical results.

I am pleased that I have learned so much about all of the many topics I've encountered, but I am getting frustrated. I am going to try to get everything running on an old windows machine which I guess should isolate the nature of the problem. In the meantime, any ideas? Am I missing something obvious?
legalnonsense
Beginner
Posts: 9
Joined: Sun Jul 21, 2013 5:30 pm

Re: Too many packets lost

Post by legalnonsense »

Tried everything in windows. Same problem: as soon as throttle is applied, too many packets are lost and the cf disconnects.
legalnonsense
Beginner
Posts: 9
Joined: Sun Jul 21, 2013 5:30 pm

Re: Too many packets lost

Post by legalnonsense »

If it helps...

$ cfclient
INFO:cfclient.cfclient:Disabling STL printouts
INFO:cfclient.utils.config:Dist config read from /usr/local/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/jeff/.local/cfclient/config.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1_linux.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1_linux.json]
INFO:cfclient.utils.config:Dist config read from /usr/local/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/jeff/.local/cfclient/config.json]
INFO:cfclient.utils.logconfigreader:Parsing [stabilizer.json]
INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal
INFO:cflib.crtp.radiodriver:v0.52 dongle with serial N/A found
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:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [5]
INFO:cflib.crazyflie:Callback->Connected to [radio://0/10/250K]
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=13
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=14
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=13
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=14
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=13
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=14
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=13
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=14
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=13
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=15
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
WARNING:cflib.crazyflie.log:Error no LogEntry to handle block=14
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not succeed
INFO:cflib.crazyflie.toc:TOC for port [5] found in cache
INFO:cflib.crazyflie:Log TOC finished updating
INFO:cflib.crazyflie.toc:TOC for port [2] found in cache
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [radio://0/10/250K]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crazyflie.log:Have successfully logging for block=1
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x33db758>
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x33dbab8>
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x33dbb00>
INFO:cflib.crazyflie.log:Have successfully logging for block=2
INFO:cflib.crazyflie.log:Have successfully logging for block=3
INFO:cflib.crazyflie.log:Have successfully logging for block=4
INFO:cflib.crazyflie.log:Have successfully logging for block=5
WARNING:cflib.crazyflie:Got link error callback [Too many packets lost] in state [2]
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/10/250K]
INFO:cflib.crazyflie:Callback->Connectionl ost to [radio://0/10/250K]: Too many packets lost
atomicdog
Expert
Posts: 105
Joined: Tue Mar 12, 2013 2:50 am
Location: San Diego

Re: Too many packets lost

Post by atomicdog »

How good of a job did you do soldering on the motor wires? Does the antenna chip on the CF look damaged? Can you show a pics?
If the antenna chip is damaged the EMI from the motors spinning up could be enough to kill the signal.

You may be getting interference from other signals like WifI. You can try changing the radio channel or take the CF somewhere else and see if it behaves the same.
6-DOF CF | wireless xbox 360 controller
legalnonsense
Beginner
Posts: 9
Joined: Sun Jul 21, 2013 5:30 pm

Re: Too many packets lost

Post by legalnonsense »

I did not do as good of a job soldering as I should have done. I will post a picture if I can't figure out what is going on. Thanks for your help.
Post Reply