How to get variables deltax and deltay from flowdeck

Firmware/software/electronics/mechanics
Post Reply
anaimp
Beginner
Posts: 7
Joined: Wed Oct 18, 2017 7:43 am

How to get variables deltax and deltay from flowdeck

Post by anaimp »

Hi everybody,
I am a student from University of L'Aquila I am writing because I am doing an analysis of flowdeck's drivers for a crazyflie 2.0 project. I am analyzing flowdeck.c in the crazyflie firmware. I think that I have understood how deltax and deltay variables are computed (by pixel accumulation from the initial position).
But I do not understand how pixel measurements of deltax and deltay are converted into meters and where this conversion is computed in the code.
Could someone help me?
Hi,Anastasia
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: How to get variables deltax and deltay from flowdeck

Post by arnaud »

Hi,
The pixels moves are converted in meter in the kalman filter: https://github.com/bitcraze/crazyflie-f ... an.c#L1002. The different parameters where found by doing test and measurements with an actual sensor.
Post Reply