[SOLVED] Crazyflie 1.0 flight data

Post here to get support
Post Reply
jcacace
Beginner
Posts: 5
Joined: Sat Dec 27, 2014 3:55 pm

[SOLVED] Crazyflie 1.0 flight data

Post 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.
Last edited by jcacace on Sun Jan 04, 2015 9:30 am, edited 1 time in total.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Crazyflie 1.0 flight data

Post 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...
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
jcacace
Beginner
Posts: 5
Joined: Sat Dec 27, 2014 3:55 pm

Re: Crazyflie 1.0 flight data

Post by jcacace »

Dear chad,

Thank you a lot... i'm using the last version of the client... not it works perfectly!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Crazyflie 1.0 flight data

Post 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!!
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply