How to input my own IMU data into insfilterErrorState

7 vues (au cours des 30 derniers jours)
zipeng li
zipeng li le 16 Nov 2022
Commenté : Brian Fanous le 28 Nov 2022
If I defined the RF of insfilterErrorState as 'ENU', how can I transform my own IMU data from real world?
I noticed that, if RF is 'NED', it is needed to format the IMU data as 'x-front, y-right, z-down', and accerlerometer z data should be also inversed because the different g definition in MATLAB.
If RF is 'ENU', how should I processing my IMU input? Thanks a lot. Because I adjust the input, the DR result of insfilterErrorState seems really bad. I think there might be some proplem in my data input.

Réponses (1)

Brian Fanous
Brian Fanous le 22 Nov 2022
This example may help in understanding how to do this:
You may need to swap and/or invert axes, but, essentially, you want to map your recorded IMU data to the same convention as imuSensor outputs in the imuSensor('ReferneceFrame', 'ENU') setup.
  2 commentaires
zipeng li
zipeng li le 23 Nov 2022
Thanks a lot for your reply. I wonder how can I do data alignment for position estimation for insfilter.
I would like to ask, is the coordiante direction the same between accelerometer and gyroscope defined in MATLAB? My imu data is x-right, y-front, z-up. I need to swap data of x y axis in accelerometer and gyroscope. However , I found I need to inverse the measurements of accelerometer (except z direction), but I don't need to inverse the measurements of gyroscope.I am wondering why.
Brian Fanous
Brian Fanous le 28 Nov 2022
The combinations of what flips and inversions you'll need will be specific to your IMU. It may be that the accelerometer and gyroscope need different handling.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by