Flow Deck Data Collection

Discussions about autonomous flight in general, regardless of positioning method
Post Reply
jeremyp
Beginner
Posts: 2
Joined: Mon Sep 10, 2018 2:06 pm

Flow Deck Data Collection

Post by jeremyp » Mon Sep 10, 2018 4:57 pm

Hello,

I am looking for information/method on how to view and log the information coming out of the flow deck attached to a crazyflie while in flight.

I would like to do so using the python libraries and not the client.

Thanks

tobias
Bitcraze
Posts: 1738
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Flow Deck Data Collection

Post by tobias » Thu Sep 13, 2018 11:32 am

I would suggest using the logging framework but it depends on what your goal is. Information about logging can be found in the python API doc but also in the logging doc.

jeremyp
Beginner
Posts: 2
Joined: Mon Sep 10, 2018 2:06 pm

Re: Flow Deck Data Collection

Post by jeremyp » Thu Sep 20, 2018 2:41 am

hi tobias,

I want to be able to collect the data from the flow deck so that I can use that information for my own sensor fusion set up. For the moment I am not too entirely sure what parameter variable I need to log. I am somewhat new to using python and am learning as I go.

tobias
Bitcraze
Posts: 1738
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Flow Deck Data Collection

Post by tobias » Fri Sep 21, 2018 8:27 am

I suggest starting by having a look in basiclogSync.py in the examples folder. When you have that running exchange logging parameters to the ones in the flowdeck_v1v2.c file.

droneguy
Beginner
Posts: 19
Joined: Wed Mar 28, 2018 7:22 pm

Re: Flow Deck Data Collection

Post by droneguy » Sat Dec 01, 2018 8:30 pm

Hey guys,
Is it possible to wirelessly transmit the fused odometry update from the EKF while flying with the flow sensor?

Thanks!

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

Re: Flow Deck Data Collection

Post by arnaud » Thu Dec 06, 2018 10:19 am

Yes, the Crazyflie state is available as log variables. See the client log toc tab for the list of log variables, the kalman group contains a lot of the EKF state.

Post Reply