<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distance Measurement library questions (part 2)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94425/distance-measurement-library-questions-part-2</link><description>I came across a document called 
 2870.Measuring_distance_with_Nordic_Distance_Toolbox_slides.pdf 
 (found here ) 
 Several questions 
 1. There are 2 slides for &amp;quot;High Precision&amp;quot; - I assume this means that nrf_dm_high_precision_calc function was used</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Dec 2022 14:16:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94425/distance-measurement-library-questions-part-2" /><item><title>RE: Distance Measurement library questions (part 2)</title><link>https://devzone.nordicsemi.com/thread/398794?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 14:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24ae4832-baa4-4f5f-8d63-2587075ecd14</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Thank you for help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance Measurement library questions (part 2)</title><link>https://devzone.nordicsemi.com/thread/398703?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 09:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68ff4dcb-685d-41b6-8008-32da8fcb83bc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, the filter is added after the data was collected to filter the complete data set., as this graph was created specifically for this powerpoint.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance Measurement library questions (part 2)</title><link>https://devzone.nordicsemi.com/thread/398579?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 14:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b4c67c-62ba-4418-add1-b541669218a9</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;# 2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you clarify - was the filter applied after the data was collected, i.e outside the firmware? From what I&amp;#39;m reading about the median filters, they require a complete data set - for example an image. Just started reading about them so sorry for newbie questions &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance Measurement library questions (part 2)</title><link>https://devzone.nordicsemi.com/thread/398513?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 11:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fdaeff1-fefd-44cb-9bd4-5e67cae2f081</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. Yes, this uses the high precision calculation function&amp;nbsp;&lt;strong&gt;nrf_dm_high_precision_calc&lt;/strong&gt;. This does not map to the estimates in dm.h as these only use the IFFT, phase slope and RSSI parameters and combine them into a &amp;quot;best&amp;quot; estimate.&lt;/p&gt;
&lt;p&gt;The report needs to be populated using nrf_dm_populate_report, and then the p_report contain the result which is an estimate in meters you can output.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. I&amp;#39;m not sure I understand what you mean by source code for the median 3 filter. It is just a normal Median filter with a 3 stage FIFO.&lt;/p&gt;
&lt;p&gt;3. The current example is made for the &amp;quot;regular&amp;quot; nrf_dm_calc(), so it&amp;#39;s not made to use the high precision method out of the box. Implementing the high precision calculation in the sample application is in the works, but has not been added yet. Here is the &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/7895"&gt;pull request in Github&lt;/a&gt; for this feature.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>