Optical flow deck (sampling rate, dt and magic number)
Posted: Mon May 07, 2018 12:04 pm
Hi,
I am using crazyflie with PX4 firmware. My goal is to fly it with the optical flow deck. I have managed to fly it fine without optical flow. I have a few questions related to your optical flow deck:
1) I am reading the flow data at every 10 ms (100 Hz). I wanted to confirm if this is the max sampling rate or if I can go higher? What is the max reading rate for optical flow?
2) If my sampling rate is 10ms, what is the optical flow integration time (dt) in this case? Is it also 10 ms or lower than this?
3) Optical flow gives delta pixels as its output. What is the exact factor I should multiply delta pixels with to convert it to delta radians? Currently I am multiplying it with 1/500 to convert it into delta radians. I got this "rough magic number estimate" by comparing optical flow output * magic number with gyro output while only rotating the crazyflie around body x and y axis.
Waiting for your reply. Thank you!
I am using crazyflie with PX4 firmware. My goal is to fly it with the optical flow deck. I have managed to fly it fine without optical flow. I have a few questions related to your optical flow deck:
1) I am reading the flow data at every 10 ms (100 Hz). I wanted to confirm if this is the max sampling rate or if I can go higher? What is the max reading rate for optical flow?
2) If my sampling rate is 10ms, what is the optical flow integration time (dt) in this case? Is it also 10 ms or lower than this?
3) Optical flow gives delta pixels as its output. What is the exact factor I should multiply delta pixels with to convert it to delta radians? Currently I am multiplying it with 1/500 to convert it into delta radians. I got this "rough magic number estimate" by comparing optical flow output * magic number with gyro output while only rotating the crazyflie around body x and y axis.
Waiting for your reply. Thank you!