Distance measurement using multi-ranger deck

Discussions about all things Bitcraze
Post Reply
Eunju Jeong
Beginner
Posts: 4
Joined: Thu Mar 03, 2022 5:26 am

Distance measurement using multi-ranger deck

Post 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?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: Distance measurement using multi-ranger deck

Post 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.
Eunju Jeong
Beginner
Posts: 4
Joined: Thu Mar 03, 2022 5:26 am

Re: Distance measurement using multi-ranger deck

Post 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.
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: Distance measurement using multi-ranger deck

Post 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/
Post Reply