Get raw measurement from the flow deck V2

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
emoyers
Beginner
Posts: 3
Joined: Sat Feb 08, 2020 5:26 pm

Get raw measurement from the flow deck V2

Post by emoyers » Sat Feb 08, 2020 5:32 pm

Hello I'm trying to get the raw measurement from the flow deck v2 but I was not able to do it. Does anyone can point what is the way to do in using crazyflie-lib-python repository? Currently, I'm using the example mutiranger_psuh.py in the same repo, in that I can get the measurements from the multiranger deck but not from the flow deck. Any help will be appreciated.



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

Re: Get raw measurement from the flow deck V2

Post by tobias » Mon Feb 10, 2020 10:24 am

The raw flow measurements you can get from the motion logging variables located here. motion.deltaX and moton.deltaY is the raw flow outputs.

emoyers
Beginner
Posts: 3
Joined: Sat Feb 08, 2020 5:26 pm

Re: Get raw measurement from the flow deck V2

Post by emoyers » Tue Feb 18, 2020 2:05 am

how can I access this raw measurement if I'm using the crazyflie-lib-python?

kristoffer
Bitcraze
Posts: 176
Joined: Tue Jun 30, 2015 7:47 am

Re: Get raw measurement from the flow deck V2

Post by kristoffer » Tue Feb 18, 2020 7:40 am

There are two examples in the python lib repository (examples/basiclogSync.py and examples/basiclog.py) that is a good starting point.

Post Reply