Page 1 of 1

[SOLVED] Crazyflie 1.0 flight data

Posted: Sat Dec 27, 2014 3:59 pm
by jcacace
Hi everybody

I am addressing a strange problem with my crazyflie 1.0. I am using the cfclient on ubuntu 12.04, with standard onboard firmware (version 2014.01.0). The problem regards the flight data. Even thought the platform flight very well (i'm controlloing the quadrotor with an xbox controller and i am able to flight without problems), the flight data seems to be not sent to the client... both the battery leve and imu data...

Any suggestions?

all the best.

Re: Crazyflie 1.0 flight data

Posted: Sat Dec 27, 2014 6:55 pm
by chad
Are you using the latest GitHub (HEAD) client source? If so, that's likely the issue. You can patch crazyflie-client-python/lib/cflib/crazyflie/__init__.py as detailed in this post by Marcus to get the flight data back. Essentially, in the function "def _log_toc_updated_cb(self):" you're just commenting out one line and adding another:

Code: Select all

#self.mem.refresh(self._mems_updated_cb)
self.param.refresh_toc(self._param_toc_updated_cb, self._toc_cache)
If you're not using the latest client code, we'll have to do some more diagnostics...

Re: Crazyflie 1.0 flight data

Posted: Sat Dec 27, 2014 10:19 pm
by jcacace
Dear chad,

Thank you a lot... i'm using the last version of the client... not it works perfectly!

Re: Crazyflie 1.0 flight data

Posted: Sun Dec 28, 2014 2:46 am
by chad
Awesome! If you happen to have a chance, could you prepend "[SOLVED]" to the subject of your thread (as in: [SOLVED] Crazyflie 1.0 flight data)? It'll help others if they're looking for answers on the same issue. :D

Fun flying and Happy New Year!!