Filter löschen
Filter löschen

How to input my own IMU data into insfilterErrorState

2 Ansichten (letzte 30 Tage)
zipeng li
zipeng li am 16 Nov. 2022
Kommentiert: Brian Fanous am 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.

Antworten (1)

Brian Fanous
Brian Fanous am 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 Kommentare
zipeng li
zipeng li am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Geographic Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by