Page 1 of 1

Distance measurement using multi-ranger deck

Posted: Tue Mar 29, 2022 7:19 am
by Eunju Jeong
Hello,

I want to know the accuracy of the distance measured by the multi-ranger deck.

Is there a way to measure the distance with multi-ranger deck when the crazyflie is not flying(with power off)?
or is it possible to measure the distance only when crazyflie is flying?

Re: Distance measurement using multi-ranger deck

Posted: Tue Mar 29, 2022 8:43 am
by kimberly
Hi!

You can still measure the multiranger decks values from the 'range' logging variable, by using the plotter tab of the cfclient (you first have make a logblock first).

There is also a simple script available in the crazyflie python lib repository. How accurate they are, it is milimeter precission but you would need to check the sensor's data sheet for that on ST home pages for more specifics.

The multiranger will have its sensors own for the entire duration that the crazyflie is on, so it does not need to be flying.

Re: Distance measurement using multi-ranger deck

Posted: Mon Apr 04, 2022 10:50 am
by Eunju Jeong
Thank you for your detailed reply!

By the way, I want to download the plotter tab data in file format, but I don't know how.
How can I get the range variable data shown in the plotter tab into a text file or a CSV file?

Thank you.

Re: Distance measurement using multi-ranger deck

Posted: Tue Apr 05, 2022 8:41 am
by kristoffer
The first option to save log data is to right click the graph and chose export.
You can also use the Log Blocks tab as described here https://www.bitcraze.io/documentation/r ... locks_tab/