<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[openIMU300RI how to get linear acceleration]]></title><description><![CDATA[<p>Hi,<br />
I plan to use the openIMU300RI in a car application. Therefore i need the linear acceleration.<br />
I already installed the VG_AHRS framework and mapped the EKF data to the CAN output.<br />
Unfortunately I don't know how to access the linear acceleration or how to activate the correction.</p>
<p>I can process the data received via CAN Bus but this is only 100 Hz. I would prefer the sensor to pre-process and output the data.</p>
<p>I hope somebody can help me.</p>
]]></description><link>https://forum.aceinna.com//topic/173/openimu300ri-how-to-get-linear-acceleration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 15:22:07 GMT</lastBuildDate><atom:link href="https://forum.aceinna.com//topic/173.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Jun 2020 09:24:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Mon, 22 Jun 2020 09:24:48 GMT]]></title><description><![CDATA[<p>Hi,<br />
I plan to use the openIMU300RI in a car application. Therefore i need the linear acceleration.<br />
I already installed the VG_AHRS framework and mapped the EKF data to the CAN output.<br />
Unfortunately I don't know how to access the linear acceleration or how to activate the correction.</p>
<p>I can process the data received via CAN Bus but this is only 100 Hz. I would prefer the sensor to pre-process and output the data.</p>
<p>I hope somebody can help me.</p>
]]></description><link>https://forum.aceinna.com//post/830</link><guid isPermaLink="true">https://forum.aceinna.com//post/830</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Mon, 22 Jun 2020 09:24:48 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Tue, 23 Jun 2020 00:36:57 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/353">@SeppW</a> ,<br />
Linear acceleration is calculated in INS but not VG_AHRS framework, as linear acceleration is not necessary for VG/AHRS algorithm. If you need linear acceleration in your application, you can follow and implement below approach in your VG_AHRS framework:<br />
<img src="https://navview.blob.core.windows.net/forum/upload/WechatIMG83-kbr77kmx.jpeg" alt="WechatIMG83.jpeg" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/831</link><guid isPermaLink="true">https://forum.aceinna.com//post/831</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Tue, 23 Jun 2020 00:36:57 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Tue, 23 Jun 2020 05:56:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/26">@ysong</a> Thank you for you reply.</p>
<p>I'm aware of the math. My easy approach would be to use the rotationmatrix form the quatanionsystem and tranform the acceleration to the world frame acceleration. Then I would simply remove the gravity and retransform it to body frame by using the inverse.<br />
However I just wanted to make sure, that I'm not missing something.</p>
<p>Is it possible to install the INS app without gps and use the linear acceleration?</p>
]]></description><link>https://forum.aceinna.com//post/832</link><guid isPermaLink="true">https://forum.aceinna.com//post/832</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Tue, 23 Jun 2020 05:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Tue, 23 Jun 2020 06:21:20 GMT]]></title><description><![CDATA[<p>No, because if INS app doesn't receive GPS data, it also will not calculate linear acceleration.<br />
So you can use your approach to calculate linear acceleration in VG_AHRS app, I think it should work.</p>
]]></description><link>https://forum.aceinna.com//post/833</link><guid isPermaLink="true">https://forum.aceinna.com//post/833</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Tue, 23 Jun 2020 06:21:20 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Wed, 24 Jun 2020 16:02:40 GMT]]></title><description><![CDATA[<p>I was able to use generated matlab code to filter the gravity from the body acceleration.<br />
It worked pretty flawless, but I'm wondering how to set the call cycle. My algorithm has a void step function which has to be called every 5ms.<br />
Further I'm wondering whether the mag data are already corrected.  I think the sensor I factory calibrated but I'm getting strange values by doing for example a 90 deg turn. The measured angle is like 60 deg and the integration of the filtered gyro gives me about 90 deg.<br />
The 60 deg result in using a ahrs framework. I'm not sure why this is happening... I'm wondering if this is due to not using the calibration.<br />
Also what does the soft iron values mean and how to use them?</p>
]]></description><link>https://forum.aceinna.com//post/839</link><guid isPermaLink="true">https://forum.aceinna.com//post/839</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Wed, 24 Jun 2020 16:02:40 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Thu, 25 Jun 2020 10:57:39 GMT]]></title><description><![CDATA[<p>Short update:<br />
I calibrated the sensor using recorded raw data.<br />
Further I read the ?factory calibration? parameter with the nav-view tool.</p>
<p>I entered these values in the user_configuration.c but I'm not sure, if they are actually used.<br />
Further I did a calibration on my own and now the matlab ahrs gives reliable heading estimation using the mag.</p>
<p>I'm wondering why the mag alignment using the NAV-View Software ist not working. This could be an easy why to calibrate the sensor when it is mounted in the car. -&gt; When I start the app in NAV-View it just does nothing.</p>
]]></description><link>https://forum.aceinna.com//post/840</link><guid isPermaLink="true">https://forum.aceinna.com//post/840</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Thu, 25 Jun 2020 10:57:39 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Thu, 25 Jun 2020 11:11:25 GMT]]></title><description><![CDATA[<p>Glad to know you have got the linear acceleration!</p>
<p>Do you mean you need a 200 Hz output data rate via CAN? I just know how to modify source code to get 200Hz data output via serial port but not CAN, maybe you need to read and modify the open source code to find a way to achieve that, or post a new topic of this question, maybe other guys knows.</p>
<p>Please run OpenIMU python driver and run mag alignment here: <a href="https://developers.aceinna.com/devices/record-next" rel="nofollow">https://developers.aceinna.com/devices/record-next</a></p>
]]></description><link>https://forum.aceinna.com//post/841</link><guid isPermaLink="true">https://forum.aceinna.com//post/841</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Thu, 25 Jun 2020 11:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Thu, 25 Jun 2020 14:11:36 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/26">@ysong</a> I would love to get the data via CAN with 200 Hz but since I can deploy matlabcode via codegen on the IMU itself there is no need to.</p>
<p>I'm not to familiar with RTOS so i don't know how to set the user algorithm to run with 200 Hz.<br />
My code needs to be called every 5ms with new data. I just added my algorithm call in the same function as the ahrs function call.<br />
Like so:<br />
<img src="https://navview.blob.core.windows.net/forum/upload/587f5cb4-d890-4f63-85b1-2a98343304d8-image-kbuqjced.png" alt="587f5cb4-d890-4f63-85b1-2a98343304d8-image.png" class="img-responsive img-markdown" /></p>
<p>I'll try the calibration tomorrow. But I have not been able to calibrate the sensor. Python drivers is running, at least I think so. Is there a way to check that?</p>
]]></description><link>https://forum.aceinna.com//post/842</link><guid isPermaLink="true">https://forum.aceinna.com//post/842</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Thu, 25 Jun 2020 14:11:36 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Thu, 25 Jun 2020 14:16:06 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/353">@SeppW</a>,</p>
<p>Function &quot;RunUserNavAlgorithm&quot; is invoked at 200 Hz indeed,  just output results data via CAN with 100Hz, so I think this should be okay  for you.</p>
<p>I think the &quot;mag alignment&quot; is your requirement of  &quot;calibrate the sensor&quot;,  you could have a look at:<br />
<a href="https://openimu.readthedocs.io/en/latest/algorithms/MagneticAlignment.html" rel="nofollow">https://openimu.readthedocs.io/en/latest/algorithms/MagneticAlignment.html</a><br />
<a href="https://openimu.readthedocs.io/en/latest/algorithms/MeasurementVector.html#magnetometer-based-heading" rel="nofollow">https://openimu.readthedocs.io/en/latest/algorithms/MeasurementVector.html#magnetometer-based-heading</a></p>
<p>BTW, magnetic sensor is sensitive,  so for your car application, I think the iron part (such as engine, car frame) of your car  maybe interference for magnetic sensor,  so it it necessary to evaluate only use magnetic sensor to get heading is stable enough for your car application.</p>
]]></description><link>https://forum.aceinna.com//post/843</link><guid isPermaLink="true">https://forum.aceinna.com//post/843</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Thu, 25 Jun 2020 14:16:06 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Thu, 25 Jun 2020 14:31:20 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/26">@ysong</a> said in <a href="/post/843">openIMU300RI how to get linear acceleration</a>:</p>
<blockquote>
<p>BTW, magnetic sensor is sensitive,  so for your car application, I think the iron part (such as engine, car frame) of your car  maybe interference for magnetic sensor,  so it it necessary to evaluate only use magnetic sensor to get heading is stable enough for your car application.</p>
</blockquote>
<p>I'm aware of the problems which can occur due to iron effects. We just need the magnetic field to get an rough estimation of the direction of the car.<br />
The more precise measurement will be done after identifying some characteristic landmarks. The IMU will be used to initialize this procedure.</p>
]]></description><link>https://forum.aceinna.com//post/844</link><guid isPermaLink="true">https://forum.aceinna.com//post/844</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Thu, 25 Jun 2020 14:31:20 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Fri, 26 Jun 2020 06:51:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/26">@ysong</a> when doing the mag aligment I'm stuck in this screen.<br />
<img src="https://navview.blob.core.windows.net/forum/upload/d33531de-96d8-45d6-9beb-215adc099b66-image-kbvum23w.png" alt="d33531de-96d8-45d6-9beb-215adc099b66-image.png" class="img-responsive img-markdown" /><br />
<img src="https://navview.blob.core.windows.net/forum/upload/29f51774-9671-4286-acd1-129b7f9ecc34-image-kbvuxk0s.png" alt="29f51774-9671-4286-acd1-129b7f9ecc34-image.png" class="img-responsive img-markdown" /><br />
Do you have any idea how to fix that?</p>
]]></description><link>https://forum.aceinna.com//post/846</link><guid isPermaLink="true">https://forum.aceinna.com//post/846</guid><dc:creator><![CDATA[SeppW]]></dc:creator><pubDate>Fri, 26 Jun 2020 06:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Fri, 26 Jun 2020 12:31:27 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/353">@SeppW</a> ,<br />
We are in holiday this days, I will back to office this Sunday and find a 300RI to try by then. If this is urgent for you, you also can post a new topic of this question to see if other guys knows how to fix it.</p>
]]></description><link>https://forum.aceinna.com//post/847</link><guid isPermaLink="true">https://forum.aceinna.com//post/847</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Fri, 26 Jun 2020 12:31:27 GMT</pubDate></item><item><title><![CDATA[Reply to openIMU300RI how to get linear acceleration on Sun, 28 Jun 2020 02:47:35 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/353">@SeppW</a> ,</p>
<p>I find 300RI can't do mag align via serial port in current version, but can do mag align via CAN, so I have 2 suggestions(ways) for you:</p>
<ol>
<li>Implement 'mag align via serial port' function for 300RI. You can find how 300ZI to implement 'mag align via serial port' by searching key word 'ProcessMagAlignCmds' in 300ZI VG_AHRS project source code, and follow the steps of the implementation in 300ZI VG_AHRS. This is a 'DIY' way that play with 300RI. Welcome your coming contribution!</li>
<li>Run mag align via CAN, please refer to: <a href="https://openimu.readthedocs.io/en/latest/software/CAN/CAN_J1939_SetCommandMessages.html?highlight=align#can-j1939-set-request-messages" rel="nofollow">https://openimu.readthedocs.io/en/latest/software/CAN/CAN_J1939_SetCommandMessages.html?highlight=align#can-j1939-set-request-messages</a></li>
</ol>
]]></description><link>https://forum.aceinna.com//post/848</link><guid isPermaLink="true">https://forum.aceinna.com//post/848</guid><dc:creator><![CDATA[ysong]]></dc:creator><pubDate>Sun, 28 Jun 2020 02:47:35 GMT</pubDate></item></channel></rss>