<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Sensors中的主题 Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
    <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436013#M2152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am using FXOS8700CQ ACC+ mag and FXAS21002 Gyro based &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DFRDM-STBC-AGM01%26fsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;FRDM-AGM01 &lt;/A&gt; &lt;SPAN style="color: #3d3d3d;"&gt;Board, Is there any appnote to interface ACC+Gyro to get exact angle, after this I would be trying to interface magnetometer with these 2 sensors for getting the roll pitch and yaw. I used the sensor fusion toolbox and its library, the data was very precised I wanted to understand and write my own code for interfacing all these 3 sensors. but the raw values had lots of offset wanted to get rid of these offset. is there any appnote for this ? Thanks in advance. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Amit &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 22:01:15 GMT</pubDate>
    <dc:creator>Amit_Kumar1</dc:creator>
    <dc:date>2026-02-03T22:01:15Z</dc:date>
    <item>
      <title>Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436013#M2152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am using FXOS8700CQ ACC+ mag and FXAS21002 Gyro based &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DFRDM-STBC-AGM01%26fsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;FRDM-AGM01 &lt;/A&gt; &lt;SPAN style="color: #3d3d3d;"&gt;Board, Is there any appnote to interface ACC+Gyro to get exact angle, after this I would be trying to interface magnetometer with these 2 sensors for getting the roll pitch and yaw. I used the sensor fusion toolbox and its library, the data was very precised I wanted to understand and write my own code for interfacing all these 3 sensors. but the raw values had lots of offset wanted to get rid of these offset. is there any appnote for this ? Thanks in advance. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Amit &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436013#M2152</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2026-02-03T22:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436014#M2153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;All documentation is included in the kit doc directory.&amp;nbsp; The kit includes several different fusion algorithms.&amp;nbsp; One of those is acc+gyro.&amp;nbsp; You can then read orientation directly from the output structures of routine and (if that is what you are trying to do) manually fuse it with the mag.&amp;nbsp; I would expect performance to be a bit better than a pure eCompass (mag+accel), but not as good as the full 9-axis fusion routine (which you also have).&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 16:02:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436014#M2153</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2015-05-15T16:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436015#M2154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried extracting the raw values using both the (sensor fusion library + toolbox recording) and (My basic interfacing code + terminal s/w) keeping the FRDM board stable at same place at same orientation, but the values I got is different. I am sorry for troubling you my only concern is I wanted to understand how things are working. Attached is my code with the o/p files. I have changed the I2C port of AGM board using the jumper position. Please help me in resolving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436015#M2154</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2015-05-15T18:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436016#M2155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;If I understand you, you are trying to compare raw sensor readings from our library versus those from virgin code you have written?&amp;nbsp; I can only recommend studying the drivers included in the fusion library.&amp;nbsp; They are well documented in the code, and are quite stable at this point. &lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 03:17:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436016#M2155</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2015-05-17T03:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436017#M2156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;Thanks a lot for your time and patience. I went through your detailed documents. It Reflects the amount of research you would have been doing to get it work. Hats off for your wonderful work. Thanks a lot for providing such an effective library. I had few questions &lt;/P&gt;&lt;P&gt;1) How do I select which sensors to be used ? In My FRDM-STBC-AGM01 board I have FXOS8700CQ and FXAS21002 I don't have any other sensors and was thinking if there is an option to select only these sensors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Is there any option to change the sensitivity i.e for acc 2g/4g/16g or gyro 2000dps/250 dps ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 10:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436017#M2156</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2015-05-17T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sensorfusion algorithm for getting exact reading from Acc+Mag+Gyro ?</title>
      <link>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436018#M2157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Choice of sensors usually is a mix of technical and business considerations.&amp;nbsp; The table below shows strengths and weaknesses of the various &lt;SPAN style="text-decoration: underline;"&gt;types&lt;/SPAN&gt; of sensors. The board you have has accel+mag+gyro.&amp;nbsp; The choice of &lt;SPAN style="text-decoration: underline;"&gt;which&lt;/SPAN&gt; accel or mag or gyro will depend on desired sampling rate, full scale range, interface type, package size, cost and so forth.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SensorStrengthsAndWeaknesses copy.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22149iF3C5594C7D8367C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="SensorStrengthsAndWeaknesses copy.png" alt="SensorStrengthsAndWeaknesses copy.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The FXOS8700CQ supports several g ranges (2/4/8).&amp;nbsp; You can change this in the drivers.c file.&amp;nbsp; The other two sensors on your board have only a single full scale range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Using-Sensorfusion-algorithm-for-getting-exact-reading-from-Acc/m-p/436018#M2157</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2015-05-21T18:17:22Z</dc:date>
    </item>
  </channel>
</rss>

