Page 2 of 2
(Solved)Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 3:55 pm
by TheYoyoFreak
I need some clarification on how to update the cfclient and what exactly it is. Is the client the virtual machine or Virtualbox? Firmware is directly for the Crazyflie right? I just want everything up to date, let me know what version's of firmware and client I need to have.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 5:04 pm
by chad
Hi YoYoFreak,
TheYoyoFreak wrote:Is the client the virtual machine or Virtualbox?
I mentioned what the client is in a
previous post but I guess I wasn't very clear. The "client" is the python application that controls the Crazyflie system. VirtualBox is an application for your Mac that runs the Bitcraze VM. The VM is a linux operating system that runs the client application. When you double-click the icon on the desktop of the VM labeled "Crazyflie client", you are running a set of python scripts that constitute the application that is the "client."
The client talks to the Crazyradio which talks to the Crazyflie. The client gets telemetry data from the Crazyflie though the Crazyradio and communicates that to you via its interface. The client also gets input data from your controller and communicates that to the Crazyflie through the Crazyradio.
TheYoyoFreak wrote:I need some clarification on how to update the cfclient [...]
How about trying this... Double-click the "Terminal Emulator" icon on the desktop of the VM and type the following in the terminal window:
Code: Select all
cd projects/crazyflie-clients-python
git pull
What is the output?
Now type this in the terminal window:
What is the output? It should be:
Code: Select all
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Then type this in the terminal window:
What is the output? It should be:
Code: Select all
commit ca91d168951c0d457674c525564ef1c5e9bd412e
Author: Arnaud Taffanel <arnaud@bitcraze.se>
Date: Thu Aug 20 16:11:53 2015 +0200
Fixed zmq and input interfaces on windows exe build
TheYoyoFreak wrote:Firmware is directly for the Crazyflie right?
In this case yes. The firmware is code that is compiled and runs on the Crazyflie. It's basically the copter's brain. There are other firmwares involved in the entire system but we don't need to concern ourselves with those for this issue.
Download
this Crazyflie firmware image (which I believe you have already done). It is the latest "released" firmware for the Crazyflie (2015.08.1). Then flash it to the Crazyflie (which I believe you already have done).
Lastly, as @arnaud mentioned, the warning is not a concern. It doesn't affect the Crazyflie's operation or performance and thus can be safely ignored.
I hope this all helps!

Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 5:29 pm
by TheYoyoFreak
Okay, I updated my Crazyflie. I however didn't get some of those outputs that you mentioned. This is close to being resolved, I just really don't like seeing warnings even though you said it doesn't matter.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 5:37 pm
by lgenzelis
Thank you for your answers chad and arnaud! I think arnaud made some mistake when he committed the changes (maybe he forgot to merge to the master branch?). I have updated all the proyects, but, as chad posted, the output of git log -1 says that the date of the last commit is Aug 20, 2015. However, the link provided by arnaud (
https://github.com/bitcraze/crazyflie-c ... 5dc420L394) says the changes were submitted on Sep 8, 2015. My version of lib/cflib/crazyflie/__init__.py doesn't contain these modifications.
By the way, is there a glossary or something like that for the new folks like me? I keep running on the term "toc", but I have no idea what it means.
TheYoyoFreak, you have to cd into projects/crazyflie-clients-python/lib/cflib/crazyflie/ before doing git status or git log -1.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 5:38 pm
by chad
TheYoyoFreak wrote:Okay, I updated my Crazyflie. I however didn't get some of those outputs that you mentioned.
Those commands were all intended to be run in the same terminal window... You need to be inside the ~/projects/crazyflie-clients-python directory for those git commands to have any meaning. That folder is a git repository.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 5:57 pm
by chad
lgenzelis wrote:Thank you for your answers chad and arnaud! I think arnaud made some mistake when he committed the changes (maybe he forgot to merge to the master branch?). I have updated all the proyects, but, as chad posted, the output of git log -1 says that the date of the last commit is Aug 20, 2015. However, the link provided by arnaud (
https://github.com/bitcraze/crazyflie-c ... 5dc420L394) says the changes were submitted on Sep 8, 2015. My version of lib/cflib/crazyflie/__init__.py doesn't contain these modifications.
By the way, is there a glossary or something like that for the new folks like me? I keep running on the term "toc", but I have no idea what it means.
Happy to help!
I usually just stay on the 'develop' branch of the client. It's a bit more bleeding edge but the guys keep it stable.
I'm not sure what TOC stands for (table of contents?) but I know that it's the list of parameters (both read/write and read-only) that the Crazyflie is aware of. You might find a definition in the
wiki but I don't recall seeing a glossary or list of terms there.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 6:27 pm
by TheYoyoFreak
Okay so I got those correct outputs @Chad. I just ran the terminal from the "crazyflie-client-python" folder. I'm hoping that deleting the "Warning" line at the end of the __init__.py code was okay to do because that stopped the Warnings from popping up.
Re: WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
Posted: Tue Jan 26, 2016 8:24 pm
by lgenzelis
Thanks chad! Maybe later I'll move to the develop branch, but I want to get to know the environment better before that (or I may run into an unexpected error and won't understand what's going on).
TheYoyoFreak, I also deleted the warning, nothing to worry about.